Answer: Suppose i have a css class on the page in Head tag like below:-
.button_border
{
border-width:2px;
border-style:solid;
border-color:blue;
}
And i want to apply above class in Button control,then i will write below code:-
<asp:Button ID="Button15" runat="server" Text="Border Width 6" CssClass="button_border"/>
Asked In: Many Interviews |
Alert Moderator