PDA

View Full Version : How to make a image that has a link doesnt have colored border?


Vulture
04-28-2010, 12:08 AM
http://www.kane-lynch.com/Kane&Lynch.html

as you can see here the header picture of the site has a link to the home of the site but even though i selected 'no border' around the image is colored.

how can i fix this?

Corrosive
04-28-2010, 06:51 AM
a img: border 0; should do it.

Vulture
04-28-2010, 09:42 AM
wow thanks a lot. the site will look better now :)

Corrosive
04-28-2010, 09:46 AM
Sorry, I don't know what I was thinking about this morning when I wrote that! Correct code is;

a img {border: 0;}It was early in my defence!

Vulture
04-28-2010, 09:51 AM
yep the first one is wrong but dw didnt give an error or something.