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]

Reply via email to