Is it possilble to do something like this: 

.clsBold {font-weight: bold;}
.clsItalic {font-style: italic;}
.clsRed {color: #F00;}

.clsTitleDiv {clsBold; clsItalic; clsRed;}

In other words, can I call a previously defined class inside another class,
in some fashion, thus saving me time and code?

I already know that I can stack classes inside a tag in this fashion: [div
class="clsX clsY clsZ"][/div]. That's not really what I'm looking for. I'm
looking for something that is handled purely inside the stylesheet. I'm
hoping there's a greater way to do re-usability.

~Paul Kahl
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to