• Hi People,

    The following styles work just fine in FF but in IE the H5 tag fails to show.

    I wondered if anyone can see anything wrong with them.

    /* Comment List Author Links
    ———————————————– */

    #left ul.comments li.owner h5 {
    color:#CCDDEE;
    background:#335577;
    font-size:100%;
    font-weight:normal;
    /* border-bottom:1px solid #fff; */
    padding: 7px 10px 7px;
    margin:0 0 10px 0;
    float:left;
    width:358px;
    width /**/:367px;
    }

    #left ul.comments li.owner h5 a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border: none;
    }

    #left ul.comments li.owner h5 a:hover {
    color:#D0E1E8;
    font-weight: bold;
    }

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried just using li.owner h5 or .owner h5 to simplify it and see if it still works? And maybe be more specific about what is not working in IE. Is it that there is nothing showing at all, or the color is right but the size is wrong, or something like that?

    A link to the page where the error is would help us validate the code for you and such, but you can do that yourself. This article on validating your website is very helpful.

    Thread Starter karlb

    (@karlb)

    Hi Lorelle,

    Thanks for the reply 🙂

    Basically nothing in h5 shows. Totally invisable.

    Is this still a problem? If so, please post a link to your site and we’ll take a closer look.

    The hack you have for width might also be causing your problem. Why do you have a hack there?

    Thread Starter karlb

    (@karlb)

    yeah I still have the problem in IE only though. I am planning to disect my code this morning 🙂

    I’ll keep you posted.

    I would make sure there is a space between the selector plus colon and the CSS rule brackets.

    I just saw that, too:

    width /**/:367px;

    There’s a space after width.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS: These styles don’t show in IE. Any Ideas?’ is closed to new replies.