View Full Version : Removing frames from pics.

08-07-2009, 02:21 PM
O.K. guys I know this has been asked before but I just can't find it. How can I remove that blue frame like lines around a banner? I insert it a banner scrip in a page with several banners and I just can't get rid of the blue lines around it. any help will be appreciated. Thanks

08-07-2009, 03:06 PM
Explorer adds the blue border to images used as links. Best practice is creating a style like:

a img {
border-style: none;

You can also use the html border attribute:

<a href="#"><img src="fimg.jpg" border="0" /></a>

08-07-2009, 03:58 PM
Thanks. Very helpful.

08-07-2009, 04:08 PM
If you want to take it one stop further, don't use the link tag <a> for this since there is no link to a new document.