PDA

View Full Version : Border color of an image


rah111
06-28-2002, 12:58 AM
Hi everyone.

I notice that the Image object has a border property, which determines whether or not there is a border, but if I do want a border around an image, how can I define the colour it will be?

Cheers.

Russell.

adios
06-28-2002, 01:03 AM
<img style="border:3px gold double;" src="http://www.codingforums.com/images/reply.gif">

rah111
06-28-2002, 01:32 AM
Dave and adios.

Thank you both for your replies.

This is all a steep learning curve. I'm not sure which way to look sometimes. It seems to be such a mix of HTML/JavaScript/CSS knowledge, you just have to know the right tack to take I guess.

Thanks again.

Russell.

adios
06-28-2002, 01:37 AM
http://www.w3schools.com/css/css_border.asp :cool: