Give an example of Border property in CSS?

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

Suppose i have a Button control whose border i have to set,so i will write,

<asp:Button ID="Button1" runat="server" Text="Button" style="border:1px solid green;"/>

Or we can apply border to any element like below code,
<div style="border:1px solid green;">Dotnet</div>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response