Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding highlighted links from pictures?

Status
Not open for further replies.

forumer

Programmer
Nov 19, 2005
1
US
Hi all,

I was just curious on how to take out the blue highlight in a picture when the picture is used to link another URL.
 
Hi Forumer,

I assume you mean the blue border? You can set the border to "0":

<a href=&quot; src=&quot;YourPicture.gif&quot; border=&quot;0&quot;></a>

Hope this helps,
Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
 
You can also set the border in your CSS as follows...though this sometimes doesn't seem to work in 4.0 versions of Netscape. I would try to do what Boomerang suggested too, just for those older browsers, but you might add this to you CSS in addition.

img {border: 0;} --K. Danielsson, asst. editor
Our new IIS Center:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top