DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

How To Remove Blue Border From Hyperlink If It Contain Image Inside

  • submit to reddit
        Remove any image that is contained within a link will be given large blue border
<style type="text/css">
a img
        border: none;

this will automatically remove borders from every hyperlink from entire page, if it contains image inside.

<a href=""><strong>Spring Framework</strong></a>