How to assign a CSS for border-style and border width property?

 Posted by vishalneeraj-24503 on 6/5/2014 | Category: ASP.NET Interview questions | Views: 1224 | Points: 40
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 

Comments or Responses

Login to post response