PDA

View Full Version : How to get rid of Image border when hyperlinked



technica
01-17-2006, 04:10 PM
Hello
I am using a Javascript program that makes a pop up window of the image of my choice and hugs the image. (http://www.valleywebdesigns.com) Whenever I apply this program to an image hyperlink, the image gets a hyperlink style border:
http://wethegeeks.com/diglife/5intrigger01.html
and the first picture of this page: (I would want the images to look like the second picture of the charger on this page)
http://wethegeeks.com/diglife/ipod3gen02.html
How would I get rid of this border? I'm using xhtml strict, so I can't do any border property stuff unless it's in css, which is do-able, becuase all my info is in an external css sheet.
Thanks for your help.

ADAM Web Design
01-17-2006, 04:15 PM
img {
border: none;
}

technica
01-17-2006, 04:33 PM
Thank you
I'm officially an idiot

ADAM Web Design
01-18-2006, 01:33 AM
Nah, you're not. Took me half an hour to figure that out. You got some random stranger to tell you in about 30 seconds. :)

technica
01-18-2006, 01:37 AM
and isn't that just the beauty of WPW? :D