ul.video {
attribute: value;
attribute: value;
attribute: value;
attribute: value;
}
li.video {
otherAttribute: otherValue;
}
wouldn't then ul.li.video inherit attributes from <ul class="video"> but
not explicit in <li class="video">?
will
Kevin Graeme wrote:
> Can I write a selector for a parent object of a tag with a class?
>
> So I have:
>
> <ul>
> <li class="video">blah</li>
> </ul>
>
> I want to apply a style not only to the LL but also to the UL. "ul
> li.video"
> selects the li tag. Is it possible to select the parent UL though?
>
> Along with this, is it possible to select a tag with any class? I want to
> write "p.*" to select any paragraph with a a class assigned, but that
> doesn't work.
>
> -Kevin
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
