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

I know the basic image border html code is border="X" in the tabs, but how do you change it to a dotted border? And how do you choose the colour?

2007-02-15 14:27:48 · 4 answers · asked by J 4 in Computers & Internet Programming & Design

4 answers



border:
first attribute is type: dotted, dashed, solid, etc
second is size in pixels
third is hexadecimal color value (#000 = #000000 = black;; #00f = #0000ff = blue, etc)

2007-02-15 14:58:17 · answer #1 · answered by Anonymous · 0 0

You need to use CSS to change the border from that boring solid line.

.border {
border: 3px dashed #6495ED;
}

You can change the 3px to any size, the dashed to dotted, dashed, solid, double, ridge, groove, inset, outset and you can change the colour number to anything you like.

2007-02-15 14:35:18 · answer #2 · answered by ? 5 · 0 1

you can use STYLE for your tag or use CSS.
for example



(style="border:width style color;")
style is solid ,dashed ,dotted ,....
or