- From: Eric A. Meyer <eric@meyerweb.com>
- Date: Tue, 30 Dec 2003 14:04:25 -0500
- To: www-style@w3.org
At 0:19 -0600 12/27/03, Robert Nicholson wrote:
>I keep seeing the occasional form like this
>
>html>#secondarynav {
> width: 100px;
> }
>
>Is the ">" an inadvertent typo or does it have real meaning?
It has real meaning: it's the child combinator. See
<http://www.w3.org/TR/CSS21/selector.html#child-selectors> or get an
explanation from the SelectORacle at
<http://gallery.theopalgroup.com/selectoracle/>.
>Apparently it's not a typo but I am surrpised to find no explanation of this
>syntax in the Orange book.
The "Orange book" being...?
--
Eric A. Meyer (eric@meyerweb.com) http://www.meyerweb.com/eric/
Principal, Complex Spiral Consulting http://www.complexspiral.com/
"CSS: The Definitive Guide," "CSS2.0 Programmer's Reference,"
"Eric Meyer on CSS," and more http://www.meyerweb.com/eric/books/
Received on Tuesday, 30 December 2003 14:12:59 UTC