...

View Full Version : Removing link color from button



codejunkie
02-13-2005, 03:55 AM
I feel stupid for asking this, but is there a way I can remove the link colored box around my button? I tried the <a href="" style="text-decoration: none;"> but it doesnt work when you use images as links.

gamebits
02-13-2005, 04:29 AM
Simply ad border="0" in your <img> tag.

Example:

<img src="http://www.yourdomain.com/pic/me.jpg" width="100" height="100"
alt="picture of me" border="0">

codejunkie
02-13-2005, 04:56 AM
oh ya, lol, thanks. shoulda though of that

mindlessLemming
02-13-2005, 05:34 AM
Noooooo! That's a presentational attribute -- it will pollute the web for future generations, along with the <font> pollution we already suffer from.

No that I've finished my rant, here's how to change it using CSS :)


a img {border:none}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum