Re: help: styling a column with :first-child?

On 7 Dec 2000, Matthew Brealey wrote:
> 
> tr:first-child td:first-child { ... }
> 
> [...] doesn't match, for example,
> 
> <table>
> <col>
> <tr>
> <td>
> </table>
 
The <td> element in the HTML fragment above _is_ matched by the rule
given at the top of this e-mail.

<tbody> has an optional start tag and an optional end tag, but it is
_always_ present. Much like <html>, <head> and <body>. 

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________

Received on Thursday, 7 December 2000 15:37:25 UTC