PDA

View Full Version : How do you change the color of an image border?


jmf
06-08-2006, 01:50 AM
It is easy to change the border width in the inspector, but where or how do I change the color from dark blue?

jmf

chriskq
06-08-2006, 02:58 AM
if u are using css with ur site its easy.


a img {
border: 0px;
}

that will default all your images to have no border.

or give ur img a class of its own eg:
<a class="border1" href="#" title="">

then in ur css reference by using

.border1 {
border: 1px solid #ed1edc;
}

there are many different border options (solid, dotted, raised etc)

jmf
06-08-2006, 02:21 PM
And how do I choose the color of the border?

jmf

domedia
06-08-2006, 06:33 PM
The color is the hex value in the CSS rule chris gave you in his last post.