W3C home > Mailing lists > Public > www-style@w3.org > November 2007

Question about the Adjacent sibling combinator

From: Barry Rader <brader@boldinternet.com>
Date: Wed, 21 Nov 2007 10:40:27 -0500
Message-ID: <4744516B.2000307@boldinternet.com>
To: "www-style@w3.org" <www-style@w3.org>

I have been trying to figure out the expected behaviour of this combinator.

h3 + ul{}

Would this mean that the style defined here would affect the ul, the h3 
or some kind of combination of both.

If it is the behaviour to affect the ul only is there any way to have a 
reverse combinator that will affect the h3?
something like:
h3 - ul{}
or
h3 !+ ul{}
or
h3 +! ul{}

-- 
Barry Rader
Received on Friday, 23 November 2007 12:20:32 GMT

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