Give an example of Border property in CSS?

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

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 funda.com</div>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response