Adjacent sibling in reverse is not possible but you could adapt direct siblings
using something like this:
h2 > p {
color: yellow;
}
hth
--- On Mon, 30/8/10, Rick Gordon <[email protected]> wrote:
> Is there some way to address the
> first member of an adjacent sibling selector, as opposed to
> the last member?
>
> For example, if I wanted to address p tags immediately
> preceding an h2, how might I go about it? Thanks.
> --
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/