W3C home > Mailing lists > Public > www-style@w3.org > December 2000

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 7 Dec 2000 11:12:31 -0800 (Pacific Standard Time)
To: Matthew Brealey <webmaster@richinstyle.com>
cc: www-style@w3.org
Message-ID: <Pine.WNT.4.21.0012071110310.972-100000@HIXIE.netscape.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT