.tblClass > .fontClass {}

I'm not sure that that is meant to work. I know

form > p {
        styles..
        }

is supposed to work. It means only apply this style to a paragraph INSIDE a
form tag NOT let p tags INHERIT the form tag style. But AFAIK the > stuff is
broken in most IE versions.

OK, just done some reading & testing.... the > is called the "child
selector" and its CCS2.

<style type="text/css">
form {
        color:red;
        }
p {
        color:green;
        }
form > p {
        color:blue;
        }
</style>
<form>form</form>

<p>p</p>

<form>form <p>p</p></form>

It works as I described in Opera & Moz but not in IE.

I don't think there is anyway to do what you want (relationships between
classes) and I think the CSS people have deliberately not put this in place.
Their logic is if x has some relationship to y then express it in html
structure rather than using classes.




Cheers

Mark


______________
Mark Stanton
Web Production
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
www.gruden.com



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to