Log In · Register

 
Border Around Image Links
ForgiveTheSinner
post Oct 10 2008, 06:42 PM
Post #1


Senior Member
*****

Group: Member
Posts: 786
Joined: Dec 2006
Member No: 488,341



I'm trying to get rid of the border that goes around an image link but I don't know how.

Anyone know the code?

Cause in my code I have it for normal text links but it applies to the image links too.

If I'm not making any sense just tell me.
 
 
Start new topic
Replies (1 - 3)
schizo
post Oct 10 2008, 06:44 PM
Post #2


Senior Member
******

Group: Staff Alumni
Posts: 2,435
Joined: Feb 2007
Member No: 506,205



This should do it for all the images in your layout. Just add it to the stylesheet:

CODE
img {border:none;}


Or, you could just use this when you're linking images:

CODE
<img src="URL HERE" border="0">
 
ForgiveTheSinner
post Oct 10 2008, 07:04 PM
Post #3


Senior Member
*****

Group: Member
Posts: 786
Joined: Dec 2006
Member No: 488,341



You are a lifesaver!! Thank you so much.
 
schizo
post Oct 10 2008, 07:05 PM
Post #4


Senior Member
******

Group: Staff Alumni
Posts: 2,435
Joined: Feb 2007
Member No: 506,205



No problem. ;)

Closed and moved to resolved.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: