Climis, Tim wrote:
> <p>These are the things you need to bring:</p>
> <ul>
> <li>Bananas</li>
> <li>Pie</li>
> </ul>
>
> Unless I'm misreading the spec, that would match the <ul> and make my list
> text italicized, which isn't what I want. I want to match the <p>.
>
> Something like E1 + E2, where E1 is the subject of the selector.
>
> ---Tim
You can only target it indirectly.
p:first-child {...}
p ~ p {...} /* overriding style */
--
Alan http://css-class.com/
Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
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/