Removing borders on images

Removing borders set on images by default in some browsers.

This little CCS remove borders on images that are clickable.

CSS code:

a img {
   border: 0;
}


Attach this to your style sheet and you do not have to set the border of images through the border attribute of the img element.

<a href=http://www.scandicweb.com>
   <img src=?scandicweb.gif? border=?0? alt=?Web Design? />
</a>

Advertisement

TigerDirect

No User Comments.

No User Comments, be the first one to write your comments?

ApplayIT is owned by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.