www.webdeveloper.com

Search:

Type: Posts; User: WebWarrior

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    3,622

    Hi, Normally, you can't change CSS on the...

    Hi,
    Normally, you can't change CSS on the external file. There are ways to accomplish this though like using PHP's file_get_contents function to retrieve the external file's content, modify it to...
  2. Replies
    7
    Views
    3,622

    I was referring to the body tag's width property...

    I was referring to the body tag's width property of the external page that you are trying to load via iframe.
  3. Replies
    7
    Views
    3,622

    Hi Developer1, You can accomplish this by...

    Hi Developer1,

    You can accomplish this by setting the width property of your page's body. The body's width will need to be a little less than the width of the iframe though. Assuming your iframe...
  4. Replies
    21
    Views
    7,512

    You can use both. I use IDs for unique elements...

    You can use both. I use IDs for unique elements that I feel might need to be accessed via DOM. However, I apply styles only to classes. In your case it could be something like:
    <div class="main"...
  5. Replies
    21
    Views
    7,512

    Not necessarily. I am the only developer in my...

    Not necessarily. I am the only developer in my group. Though I don't use OOPCSS exclusively. There are times when I feel it's the best solution, like with the layout issue I described earlier. The...
  6. Replies
    21
    Views
    7,512

    I like to use it. I recall using it in a case of...

    I like to use it. I recall using it in a case of a layout where a small sidebar appeared on the left on some pages, while a larger sidebar appeared on the right on others. A simpler example is to use...
  7. Replies
    21
    Views
    7,512

    Matter of style really. I personally use class...

    Matter of style really. I personally use class for all styling purposes and use ID only for DOM. One must keep in mind that ID has more "weight" than class when it comes to applying styles. This can...
  8. Replies
    21
    Views
    7,512

    I might get some heat for this from HTML pedants...

    I might get some heat for this from HTML pedants out there, but I seldom care for the small &#37; of users that don't have JS. Honestly, this is 2012 and everyone wants to enjoy the Web 2.0 features, so...
  9. Replies
    39
    Views
    11,440

    Keep in mind that neither iPhone, nor iPad...

    Keep in mind that neither iPhone, nor iPad support Flash.
  10. Replies
    13
    Views
    21,016

    .container { overflow: hidden; } Takes care...

    .container { overflow: hidden; }

    Takes care of that issue. If you are using FireBug, you'll see that after setting the overflow: hidden; property, the container encloses all elements inside it.
  11. Replies
    10
    Views
    1,757

    If anything, I would say that the $_POST array...

    If anything, I would say that the $_POST array doesn't have the index/value for the Stud_ID. Hence the error you are getting. I would double-check to see if the value for Stud_ID is properly passed...
  12. Replies
    8
    Views
    1,683

    Looks fine in Safari 5. Very nice site by the...

    Looks fine in Safari 5. Very nice site by the way. I really like the navigation menu's hover effect. Good job!

    Also, I wouldn't worry about IE 6. It's more trouble than it's worth.
  13. Replies
    21
    Views
    7,512

    Using HTML5 tags is fine as long as you include...

    Using HTML5 tags is fine as long as you include this little script for non-complying (primarily IE ver. < 9) browsers: <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    ...
  14. Replies
    13
    Views
    21,016

    Use the example provided by mikemcg36 and 3Nex...

    Use the example provided by mikemcg36 and 3Nex i.e.


    <style type="text/css">
    .container {
    overflow:hidden;
    text-align: left;
    margin: 0px auto;
    padding: 0px;
    border:0;
  15. Thread: if switch

    by WebWarrior
    Replies
    10
    Views
    1,478

    Important thing to note though, is that chrome...

    Important thing to note though, is that chrome should be placed before safari in the array for this to work. Likewise, opera should be placed before presto. Otherwise, chrome will display safari and...
  16. Thread: if switch

    by WebWarrior
    Replies
    10
    Views
    1,478

    No it won't. See the break statement in the...

    No it won't. See the break statement in the foreach.
  17. Thread: if switch

    by WebWarrior
    Replies
    10
    Views
    1,478

    First of all, This is wrong if...

    First of all,
    This is wrong
    if (stripos($_SERVER['HTTP_USER_AGENT'], $i)) {
    case 'chrome':
    echo 'chrome';
    break;
    ...

    Should use switch statement
  18. Are you sure about the Google Chrome thing?...

    Are you sure about the Google Chrome thing? Because it works fine when I test it. Could you perhaps send me a link to your work, so I can look at it?
  19. Unfortunately :focus doesn't work on Safari (and...

    Unfortunately :focus doesn't work on Safari (and probably not on IE either) only on FireFox. I am sorry for the confusion.
    I don't know if this works for you, but I added the feature you needed...
  20. Sure, no problem. Here is the complete CSS...

    Sure, no problem.

    Here is the complete CSS code:

    Simply replace <style type="text/css"></style> and whatever code that goes between them with this:


    <style type="text/css">
    body...
  21. You need to use the :focus pseudo-class to handle...

    You need to use the :focus pseudo-class to handle the mouse clicks. Use the same styles for it as for the hover class. For :hover, set z-index property to a higher value than that of a base span....
  22. I just viewed your Website through FF, Google...

    I just viewed your Website through FF, Google Chrome, Safari, IE 7 & 8. All images render the same and nothing seems to be out of order. Perhaps you are viewing older/cached version of the Website in...
  23. Replies
    9
    Views
    1,477

    The http://www.prisonmuseum.net/about.html site...

    The http://www.prisonmuseum.net/about.html site looks fine in IE7 & IE 8, I am not sure what other problems you are referring to, since I only tried to help with the original one.
    You might need to...
  24. Replies
    9
    Views
    1,477

    Looked fine in FireFox too. Please note that I...

    Looked fine in FireFox too.
    Please note that I didn't say to remove the original padding you added. Everything is the same, the only exception was the left positioning (left: 108px; ) that I added.
  25. Replies
    16
    Views
    12,438

    Nothing is blocking the body really. It's just...

    Nothing is blocking the body really. It's just that your image paths in the CSS file are wrong.
    You will need to fix the path by either

    Use absolute path for images
    Move images into the same...
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles