Forums

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

Home Forums CSS 1st not, style all below?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35269
    aoeui
    Participant

    hi,

    how to style list items using 1 .css declaration that would ignore the 1st list item?
    and style all others below?

    #91025
    aoeui
    Participant

    thanks

    #91074

    @wolfcry911 has the ideal solution, if you wanted IE7 and 8 support though you could style every list item as normal and then use li:first-child { ... } to strip the styles from the first list item.

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