Sunday 27 January 2013

CSS:Remove asp:Hyperlink blue border

When using asp Hyperlink with ImageUrl value. Usualy the image has blue border in browser. You can remove the blue border by CSS code below

ASPX
<head runat="server">

    <style type="text/css">

     a img { border:none; }

    </style>

</head>

No comments:

Post a Comment