type. At one point I did break down and put a "resource" class on the UL,
but even then I ran into so many rendering issues with different browsers
that it became futile.
Is it just me or do some tags really hate being overridden by CSS in some
browsers? Lists seem particularly ornery.
-Kevin
----- Original Message -----
From: "Sandy Clark" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 9:39 AM
Subject: RE: CSS selector problem
> You would do the following.
>
> ul.video{items for ul}
> ul.video li {items for the li in ul.video}
>
> Selectors only cascade down.
>
> _____
>
> From: William H Bowen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 28, 2004 5:20 PM
> To: CF-Community
> Subject: Re: CSS selector problem
>
>
> what about
>
> 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]
