Jump to menu

Vote down?

  1. karim

    Hi all,

    First of all thanks a lot for these articles! It’s very interesting!

    Well about :first-child and :last-child

    I used to use them with tables, like you

    did. And for IE and others

    I suggest using classes named

    .firstchild and lastchild which will be

    styled like the elements with the selectors :first-child and :last-child

    respectively.

    and of course aply to the first TR (or TD) the class .firstchild and to the last ones .lastchild.

    Well, I hope you enjoy my modest idea,

    I’m personally using it :)

    Thanks again