css - How can I assign more than one "CssClass" to a control in asp.net -


Can I assign more than one "CssClass" to a control in asp.net? How to do this

You just say to assign the class "myClass1" and "myClass2":

  & lt; Asp: label derivative = "server" CssClass = "myClass1 myClass2" />  

This is the method you use in the normal HTML:

  & lt; Div class = "myClass1 myClass2" & gt; & Lt; / Div & gt;  

Comments