Jump to content


Photo

<A href... border


  • Please log in to reply
3 replies to this topic

#1 ReVeR

ReVeR
  • Members
  • PipPipPip
  • Advanced Member
  • 42 posts

Posted 18 June 2006 - 01:31 AM

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?
a:link,
a:visited,
a:active{
    background: transparent;
    color: #dadada;
    text-decoration: underline;
    border:hidden;
}
a:hover{
    background: transparent;
    color: #fefefe;
}
Thx

#2 bobleny

bobleny
  • Members
  • PipPipPip
  • Advanced Member
  • 429 posts

Posted 18 June 2006 - 02:24 AM

<a href="something.htm"><img src="some_image.png" border="0"></a>
-- www.firemelt.net --
First do me a favor and read this: JavaScript is NOT Java - Then read this: www.php.net - When your done with that, read this Topic
After that, floors open. I and anyone else will be MORE than happy to answer YOUR query! [Topic Solved]
Cheer up, the worst has yet to come...

#3 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 18 June 2006 - 02:46 AM

I'm guessing it looks something like this:
<a href="page.php"><img src="image.jpg" /></a>

Add this to your CSS file:
a img{
border:none;
}

http://nealylitalo.net - My personal website, and home of The Netizen's Journal.

#4 ReVeR

ReVeR
  • Members
  • PipPipPip
  • Advanced Member
  • 42 posts

Posted 18 June 2006 - 02:48 AM

yep, that was it.
Thx




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users