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 Quote Link to comment 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> Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
ReVeR Posted June 18, 2006 Author Share Posted June 18, 2006 yep, that was it.Thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.