ASP.NET CssClass Property
Web control standard properties reference manual
Definition and Usage
The CssClass property is used to set or return the CSS style class of the control.
Syntax
webcontrol id=" id " CssClass= "style" runat="server" /> The following example sets a CSS style on a button: Demo Example »
property
Description
style
A string value that specifies the CSS class used on the control.
Example
Web control standard properties reference manual