[thelist] stupid CSS question
Rory.Plaire at wahchang.com
Rory.Plaire at wahchang.com
Tue Nov 27 17:03:13 CST 2001
+| but can I do:
+|
+| .foo{color:#FFFFFF;}
+| .foo.fee{font-size:11px;}
Hi Matt,
In IE at least, you can do this:
<style>
.big {font-size: 30px;}
.strong {font-weight: 900;}
</style>
...
<p class="big, strong">
And he said FOO!
</p>
... and you will have a 30px high, 900 weight font styled paragraph.
Determining which class takes precedence is left as exercise for the reader.
<rory alt="8)"/>
More information about the thelist
mailing list