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

Home Forums CSS Tricky pseudo selectors…Should this work?!

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #37654

    Am i wrong or should this be working properly? It worked fine in the HTML version…BUT, when i transferred over to wordpress, I am using a footer sidebar and a navigation widget in the footer…so i am wondering if it is a matter of cascade??? Thanks guys!

    #footer ul li:after { content: "|"; }
    #footer ul li:last-child:after { content: ""; }

    it should, yes. i recently dealt with this exact situation; my problem ended up being i had incorrect parents, ancestry, etc. make sure you’ve got all that stuff correct.


    If you want to support IE7 you could use first-child and a left hand border.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.