Forums

  • # October 30, 2008 at 10:08 am

    IE6 doesn’t support first-child. I’ve previously used this method to get around that, but now I want to do this:

    Code:
    #footer ul li:first-child a {
    border-left: none;
    }

    As far as I can tell, there’s no way to use the expression method to do this. If I write this…

    Code:
    #footer ul li {border-left: expression…}

    …that will style the first <li> itself, not the <a> inside it. And if I write this…

    Code:
    #footer ul li a {border-left: expression…}

    …that will style the first <a> inside every <li>.

    What I need to do is style every <a> inside the first <li>. Any way to get this working in IE?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag