Click to See Complete Forum and Search --> : Highlighted Borders


Smilin' Jack
10-24-2003, 08:45 AM
How can I make a "Haighlighted" border around an image?
Specifically: Where the border color changes with a mouse rollover.

Thanks,
Jack

pyro
10-24-2003, 08:54 AM
<img src="foo.png" style="border: 1px solid black;" onmouseover="this.style.borderColor='red';" onmouseout="this.style.borderColor='black';">

Smilin' Jack
10-25-2003, 12:32 AM
This requires a mouseover script; Correct?
I am at:http://www.equipmentpolice.com/TEST.Html
Go you shyow me the code to accomplish this?

Thanks,
Jack

keichan
10-25-2003, 02:49 AM
Originally posted by Smilin' Jack
This requires a mouseover script; Correct?


No mouse over script required.

Just replace the foo.png in the example with Bonan.jpg.