Sorry there is another thing that may help. CSS2 does have inheritance.

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

span {
        color: inherit;
        }
</style>
<form>form</form>

<p>p</p>

<form>form <span>span</span></form>

<p>p <span>span</span></p>

This does work in IE, but again its based on the structure of the html.
Basically classes are arbritary & meaningless in terms of any sort of
css/html/xml object model.


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