Re: [css-d] FF understands body:last-child

2006-11-16 Thread Chris Ovenden
On 11/16/06, Eric A. Meyer <[EMAIL PROTECTED]> wrote: > Similarly, 'body:first-child' would select any body element that's > the first child of its parent (which is html) -- and since every > document I've ever seen has at least a head element before the body > element, 'body:first-child' woul

Re: [css-d] FF understands body:last-child

2006-11-16 Thread Eric A. Meyer
At 4:12 PM + 11/16/06, Barney Carroll wrote: >body:last-child ... {} > >I saw this a while back and chuckled, but today I found cause to use it. >It's supposedly a hack for WebKit browsers (I don't understand how there >could be any ambiguity over what the last child of the body could be, >but

[css-d] FF understands body:last-child

2006-11-16 Thread Barney Carroll
Anybody know about this? body:last-child ... {} I saw this a while back and chuckled, but today I found cause to use it. It's supposedly a hack for WebKit browsers (I don't understand how there could be any ambiguity over what the last child of the body could be, but there you go). I've seen e