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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing blue border around image link 1

Status
Not open for further replies.

spyderco

Programmer
Jan 23, 2005
107
US
Sorry if this is a n00b quetion but I have an image that is used as a link. I apply a border="2" but I want the border to be black, not the standard blue link color.

I added bordercolor="black" to the image tag but it didn't work.

Can someone tell me what to do?

Thanks.
 

Try this:

Code:
<img src="whatever.gif" style="border:2px solid #000000;" />

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Thanks BillyRay, used what you put and it worked perfectly!!

Thanks.
 
You can also use [red]black[/red] instead of [red]#000000[/red]. I use named colors whenever possible. They're not only easier to remember, but they make your code easier for other people to decipher. Now if only there were a way to define your OWN color names?


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top