The dotted border is a browser things. However, you can set outline and border properties to none as below so there will be no dotted border around the selected/focused element.
.test{
outline:none;
border:none;
}
<asp:ImageButton ID="ImageButton1" runat="server" OnClick="ImageButton1_Click" ImageUrl="~/Images/Image1.png" CssClass="test" />
.test{
outline:none;
border:none;
}
<asp:ImageButton ID="ImageButton1" runat="server" OnClick="ImageButton1_Click" ImageUrl="~/Images/Image1.png" CssClass="test" />
1 comment:
Thanks for sharing this useful info.keep updating same way.
Cheers,
Ramesh Roy
IPhone Application Development Company
Post a Comment