View Full Version : [simple] how do i change the color of the border around my image

09-24-2002, 03:47 AM
i have something like this

<img src="pic" border=1>

how do i make that border white?

i tried adding border-color="#FFFFFF"

but no luck

:confused: :confused: :confused:

09-24-2002, 04:20 AM
I guess your html page's background is black and that is why you want to change the color of the border right?

why don't u try putting the image into a table and let say if your image size is 50X50 then make the cell size 55X55 and the background of the cell would be whatever color u want for the border.. that way it will look like it has a white or blue color of border but it's actually background color of the cell..

hope that helps.. :D

09-24-2002, 04:22 AM
it's fine now i just used a style sheet

border: #ffffff 1px solid

:) thanks