Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS First-child in IE6

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23476
    daGUY
    Member

    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)
  • The forum ‘CSS’ is closed to new topics and replies.