Click to See Complete Forum and Search --> : borderColor
alexthecatta
09-10-2004, 09:30 AM
Hi,
I've got this picture in my page, sorrounded by a border. How I make border color change?
here's the code:
<IMG src="image.jpg" border=3>
thanks a lot
gil davis
09-10-2004, 09:35 AM
<IMG src="image.jpg" style="border: 3px solid green">
Intensity
09-17-2004, 06:46 PM
<IMG src="image.jpg" style="border-style:solid">
You can make this solid, thin, dotted, ribbed..etc
Have fun.
alexthecatta
09-18-2004, 02:51 AM
ok!thanks!
Siddan
09-18-2004, 09:37 AM
or you can also change the links color... for active, hover and visited
David Harrison
09-18-2004, 09:56 AM
Originally posted by Siddan
or you can also change the links color... for active, hover and visited I didn't know you could change the border colour of an image that's been visited. ;)
Intensity
09-18-2004, 10:01 AM
Now that would be interesting to see!
java_dynamics
09-20-2004, 11:03 AM
try this:
<img src="" style="border:solid black 1px">
This border can be solid, double,ridge,groove,inset,or outset.
The color can be anything hex or rgb. The Thickness can be anything
in px.:)
Julie
01-15-2005, 03:58 PM
Wow this info helped me too...
I was looking for a css script to remove a link border from around my images but never found it. There is tons of text decoration scripts but none for images. So I used this idea and made it "0" pixels and it worked. I had to add it to each one of my images but if I can't find a css script this works just as well.
Thanks for the info, you guys are great. :)
MstrBob
01-15-2005, 04:02 PM
Erm, this IS CSS. This is inline CSS, placed inside the style attribute. To get rid of a border from all your images, one can put this in the head:
<style type="text/css">
img {border:0;}
</style>
Or simply img{border:0;} in your external CSS file.
Julie
01-15-2005, 04:10 PM
Wow such a fast reply and yes that was what I was looking for.
You are amazing MstrBob.
Thanks so very much.