ReVeR Posted June 18, 2006 Share Posted June 18, 2006 Hello.I have an image that has a link in it view <a href..but it makes an ugly border around the linked image...i was wondering how can i get rid of that border?[code]a:link,a:visited,a:active{ background: transparent; color: #dadada; text-decoration: underline; border:hidden;}a:hover{ background: transparent; color: #fefefe;}[/code]Thx Link to comment https://forums.phpfreaks.com/topic/12274--/ Share on other sites More sharing options...
bobleny Posted June 18, 2006 Share Posted June 18, 2006 <a href="something.htm"><img src="some_image.png" border="0"></a> Link to comment https://forums.phpfreaks.com/topic/12274--/#findComment-46886 Share on other sites More sharing options...
neylitalo Posted June 18, 2006 Share Posted June 18, 2006 I'm guessing it looks something like this:[code]<a href="page.php"><img src="image.jpg" /></a>[/code]Add this to your CSS file:[code]a img{border:none;}[/code] Link to comment https://forums.phpfreaks.com/topic/12274--/#findComment-46896 Share on other sites More sharing options...
ReVeR Posted June 18, 2006 Author Share Posted June 18, 2006 yep, that was it.Thx Link to comment https://forums.phpfreaks.com/topic/12274--/#findComment-46898 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.