Property |
Description |
Values |
IE |
F |
O |
border |
Sets or returns all properties for the four borders in
one |
borderWidth
borderStyle
borderColor |
4 |
1 |
|
borderBottom |
Sets or returns all properties for the bottom border in
one |
borderWidth
borderStyle
borderColor |
4 |
1 |
|
borderLeft |
Sets or returns all property for the left border in one |
borderWidth
borderStyle
borderColor |
4 |
1 |
|
borderRight |
Sets or returns all property for the right border in
one |
borderWidth
borderStyle
borderColor |
4 |
1 |
|
borderTop |
Sets or returns all property for the top border in one |
borderWidth
borderStyle
borderColor |
4 |
1 |
|
borderBottomColor |
Sets or returns the color of the bottom border |
borderColor |
4 |
1 |
|
borderLeftColor |
Sets or returns the color of the left border |
borderColor |
4 |
1 |
|
borderRightColor |
Sets or returns the color of the right border |
borderColor |
4 |
1 |
|
borderTopColor |
Sets or returns the color of the top border |
borderColor |
4 |
1 |
|
borderBottomStyle |
Sets or returns the style of the bottom border |
borderStyle |
4 |
1 |
|
borderLeftStyle |
Sets or returns the style of the left border |
borderStyle |
4 |
1 |
|
borderRightStyle |
Sets or returns the style of the right border |
borderStyle |
4 |
1 |
|
borderTopStyle |
Sets or returns the style of the top border |
borderStyle |
4 |
1 |
|
borderBottomWidth |
Sets or returns the width of the bottom border |
borderWidth |
4 |
1 |
|
borderLeftWidth |
Sets or returns the width of the left border |
borderWidth |
4 |
1 |
|
borderRightWidth |
Sets or returns the width of the right border |
borderWidth |
4 |
1 |
|
borderTopWidth |
Sets or returns the width of the top border |
borderWidth |
4 |
1 |
|
borderColor |
Sets or returns the color of all four borders (can have
up to four colors) |
color-rgb
color-hex
color-name |
4 |
1 |
|
borderStyle |
Sets or returns the style of all four borders |
none
dotted
dashed
solid
double
groove
ridge
inset
outset |
4 |
1 |
|
borderWidth |
Sets or returns the width of all four borders |
thin
medium
thick
length |
4 |
1 |
|
margin |
Sets or returns the top, right, bottom, and left
margins of the element |
marginTop
marginRight
marginBottom
marginLeft |
4 |
1 |
|
marginBottom |
Sets or returns the bottom margin of the element |
auto
length
% |
4 |
1 |
|
marginLeft |
Sets or returns the left margin of the element |
auto
length
% |
4 |
1 |
|
marginRight |
Sets or returns the right margin of the element |
auto
length
% |
4 |
1 |
|
marginTop |
Sets or returns the top margin of the element |
auto
length
% |
4 |
1 |
|
outline |
Sets or returns the color, style, and width of the
outline around the element |
outlineColor
outlineStyle
outlineWidth |
5M |
1 |
|
outlineColor |
Sets or returns the color of the outline around the
element |
color-rgb
color-hex
color-name
invert |
5M |
1 |
|
outlineStyle |
Sets or returns the style of the outline around the
element |
none
dotted
dashed
solid
double
groove
ridge
inset
outset |
5M |
1 |
|
outlineWidth |
Sets or returns the width of the outline around the
element |
thin
medium
thick
length |
5M |
1 |
|
padding |
Sets or returns the top, right, bottom, and left
padding of the element |
paddingTop
paddingRight
paddingBottom
paddingLeft |
4 |
1 |
|
paddingBottom |
Sets or returns the bottom padding of the element |
length
% |
4 |
1 |
|
paddingLeft |
Sets or returns the left padding of the element |
length
% |
4 |
1 |
|
paddingRight |
Sets or returns the right padding of the element |
length
% |
4 |
1 |
|
paddingTop |
Sets or returns the top padding of the element |
length
% |
4 |
1 |
|