How do you feel about the use of multiple classes within an HTML class attribute. For example:
<someHTMLtag class="foo bar" />
In this example we have some HTML tag that we want to style using both the foo and bar classes.
Do you feel strongly that this sort of thing is good or bad?
This question arises as we consider how to enhance the kit to recognize and render additional control properties, like StaticSelectedStyle for the Menu control. See
http://forums.asp.net/thread/1279776.aspx.
Russ Helfand
Contributor
3304 Points
744 Posts
Multiple classes OK?
May 23, 2006 05:20 PM|LINK
How do you feel about the use of multiple classes within an HTML class attribute. For example:
<someHTMLtag class="foo bar" />
In this example we have some HTML tag that we want to style using both the foo and bar classes.
Do you feel strongly that this sort of thing is good or bad?
This question arises as we consider how to enhance the kit to recognize and render additional control properties, like StaticSelectedStyle for the Menu control. See http://forums.asp.net/thread/1279776.aspx.
Groovybits.com
IDisposable
Member
185 Points
37 Posts
Re: Multiple classes OK?
May 23, 2006 06:14 PM|LINK
bttrflii
Member
590 Points
132 Posts
Re: Multiple classes OK?
May 23, 2006 06:20 PM|LINK
DragonNinja
Member
85 Points
20 Posts
Re: Multiple classes OK?
May 23, 2006 06:32 PM|LINK
The only requirement, IMO, is the cross browser compatibility of the various enhancements that you think to introduce!