Click to See Complete Forum and Search --> : Getting rid of border on linked images


TheMan
02-17-2006, 02:08 AM
Hello,

I'm not the best with HTML or CSS, so I need an easy fix here. I have an image on my site, and when I make it a link, a border appears around it. I'm assuming it's from my CSS file (I use a blog template), so what could I add in the HTML for that one link itself to get rid of the border? Should it be something like <a border="0">?

Or should I add something to the CSS like a.classname { border: none; } ?

Any ideas?

Thanks!

Lerura
02-17-2006, 02:17 AM
a img {border:none}

TheMan
02-17-2006, 02:19 AM
Easy enough - thanks for the quick response!