Jump to content

Archived

This topic is now archived and is closed to further replies.

ReVeR

<A href... border

Recommended Posts

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

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.