Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / CSS3

Remove blue border when image is inside the hyperlink

5.00/5 (2 votes)
21 Aug 2011CPOL 5.7K  
Use of a CSS reset stylesheet is recommended more than something like this one off. Normalize the CSS across browsers. In general, it is better to add borders as the exception than it is to remove them from elements. There are many good CSS reset stylesheets and some like from the YUI Library...
Use of a CSS reset stylesheet is recommended more than something like this one off. Normalize the CSS across browsers. In general, it is better to add borders as the exception than it is to remove them from elements. There are many good CSS reset stylesheets and some like from the YUI Library can be single sourced so the download only happens from one site for many sites.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)