HTML and CSS Reference
In-Depth Information
Note In Internet Explorer 6 and lower, border-style is not implemented for row groups and the dotted
value is not supported when the border-width is 1px ( dashed is displayed instead).
border-color
Used to specify all border colors in one step.
Value: Multiple instances of <rgb value> | <hexadecimal value> | <color name> |
transparent
Initial value: Set to the value of the color property of the element
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)
Note In Internet Explorer 6 and lower, border-color is not implemented for row groups (indicated by
the thead , tbody , and tfoot elements) and the transparent value is not supported (the initial value is
displayed instead).
border-top-color, border-right-color, border-bottom-color, border-left-color
Used to specify the color of the border for individual sides of the element.
Value: <rgb value> | <hexadecimal value> | <color name> | transparent
Initial value: set to the value of the color property of the element
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)
Note In Internet Explorer 6 and lower, border-color is not implemented for row groups and the
transparent value is not supported (the initial value is displayed instead).
outline
A shorthand property used for setting all three individual outline properties. Outlines are
drawn around the element but don't take up space. Therefore, they may overlap adjacent
elements. This is in contrast to borders, which do take up space within the document.
Search WWH ::




Custom Search