Which border-style property must be applied with border-width property?

 Posted by vishalneeraj-24503 on 6/4/2014 | Category: ASP.NET Interview questions | Views: 1067 | Points: 40

If we are setting control's border-width property value to any value in pixel then border-style solid,dashed,double or dotted must be applied alongwith border-width property values.

For Example:-
<asp:Button ID="Button4" runat="server" Text="Button" style="border-width:1px;border-style:solid;"/>     

<div style="border-width:2px;border-style:dotted;">Hello</div>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response