> Kevin Graeme:
> > Can I write a selector for a parent object of a tag with a class?
>
> I don't think so.


I thought I had found something from the w3c discussion list, but it didn't work. I don't know if it was a support issue, or just bad css.

> > 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.
>
> p[class] should work in browsers with good CSS support. So if you care
> about IE, it is not possible.

Well since at least 90% of the audience will be IE...(sigh).

After your message I finally gave up and used tables. It took a minute to do something that I was banging my head against all day to do in CSS and have consistent in various browsers.

BTW, IMO the CSS support in DWMX2004 is absolutely horrible. It can handle a lot more styles, but the wysiwyg editor never ever ever puts the class on the right item. And it will let you assign classes that it shouldn't due to specificity rules. And cutting an object from a table makes the entire table disappear. And...

-Kevin
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to