I have a question about style sheets: Is there a way to define (name) colors once and then use that name instead of the # number? I also see in the style sheet a lot of repeating styles, where I'd expect inheriting to work. Is that due to NS4 not inheriting correctly?
Yes of course you can. That's exactly the point of CSS. Eg:
.mycolour1 { color: black; } .mycolour2 { color: blue; } .mycolour3 { color: teal; }
And, of course, you can apply multiple styles at once, hence the "cascading" in the title:
<div class="mycolour1">I'm black <span class="mycolour3">and I'm teal</span>!</div>
I don't think that's was the question. I think what ill was trying to ask if you can do:
.mycolour1 { color: black; }
.mycolour2 { color: mycolour1 }__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
