Name
border-width — IE4 P/P | IE5 P/Y | NN4 B/B | Op3 Y/-
Synopsis
Sets the width of the overall border of
an element, which will inherit the element’s background, and
may have a foreground of its own (see
border-style
). Negative length values are not
permitted.
Example
H1 {border-width: 2ex;}
Values
[ thin
| medium
|
thick
| <length> ]{1,4}
Default
not defined for shorthand properties
Inherited
no
Applies to
all elements
Get Cascading Style Sheets: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.