...

View Full Version : Help with Image Links



silent_g_1984
10-08-2007, 11:02 AM
Just wondering if anyone can help me, i am using an image as a link,

e.g.

<a href="somepage.html"><img src="someimage.gif" /></a>

When displayed in IE the image has a border that is the colour of default hyperlink text to show that it can be clicked upon. Is there a way to stop this border form displaying?

Thanks

Mike

timgolding
10-08-2007, 11:11 AM
yes with css

In your CSS put


img, a img
{
border:none;
}

silent_g_1984
10-13-2007, 01:23 AM
Thanks very much for your help, a simple but very effective solution

Mike



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum