English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is it bordercolor="grey" or something like that?

2007-06-06 07:43:09 · 5 answers · asked by torylocker 2 in Computers & Internet Programming & Design

Yeah, I can look up the code.... but is it bordercolor="..."?

2007-06-06 07:49:41 · update #1

5 answers

The property is border-color

Some examples on how you can use it is

.myStyle {
border-color: #000000;
}

You can also declare all border properties in one line as:

.myStyle {
border: 1px solid #000000;
}

If you only want to style one side of the border (or give a different style on one side of the border) you can use something like this:
.myStyle {
border-bottom: 1px dotted #000000;
}

2007-06-06 07:56:09 · answer #1 · answered by Aditya K 2 · 0 0

That is mainly CSS, not html. Use 'style=""' inside your html tag.

EX:



Look into using an external stylesheet if you're planning on using a lot of CSS.

Check out w3schools.

2007-06-06 07:53:10 · answer #2 · answered by John331 1 · 0 0

Almost, you need to use the html code for the color, not "gray"

Try this link for the codes
http://en.wikipedia.org/wiki/Html_color_codes

2007-06-06 07:47:07 · answer #3 · answered by the_prankster 5 · 0 0

Use CSS! For the element involved, use style="border-color: gray;"

For an image, for example:
This is my photo

2007-06-06 07:50:29 · answer #4 · answered by fjpoblam 7 · 0 0

http://www.boutell.com/newfaq/creating/imagebordercolor.html

2007-06-06 07:47:56 · answer #5 · answered by helpdesk916 ♦♣♠♥ 6 · 0 0

fedest.com, questions and answers