PDA

View Full Version : Removing frames from pics.


gigiloumill
08-07-2009, 03: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

DWcourse
08-07-2009, 04: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>

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

domedia
08-07-2009, 05: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.