2 styles in one class?

windows

Guest
is it appropriate or a total disgrace?


ex. <h2 class="fontstyle linkstyle">

otherwise it does work ... like fontstyle has the font styling and the linkstyle the link stylingFrom the HTML 4.01 Specification:
class = cdata-list [CS]
This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.
<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/struct/global.html#adef-classsuper">http://www.w3.org/TR/html401/struct/glo ... classsuper</a><!-- m --> great, cus I have never seen anyone do that. Bu now I know it is all fineI just read this article a couple of days ago: <!-- m --><a class="postlink" href="http://www.evolt.org/article/Ten_CSS_tricks_you_may_not_know/17/60369/">http://www.evolt.org/article/Ten_CSS_tr ... /17/60369/</a><!-- m -->

Check out number 2. :)
 
Back
Top