CSS border-right-width property
Description of property definition and use
The border-right-width property sets the width of the right box of an element.
Note Always declare the border-style property before the border-right-width property. An element can only change the width of its border after it is obtained.
Default: | medium |
---|---|
Inheritance: | no |
Version: | CSS1 |
JavaScript syntax: | object .style.borderRightWidth="thick" |
Browser support
The border-right-width property is supported by all browsers.
Note: I E7 and earlier versions do not support "inherited" values. I E8 needs to be defined! D OCTYPE。 IE9 supports inheritance.
Property Values
Value | Describe |
---|---|
thin | Define the thin right-hand box. |
medium | The default. Define a medium right-hand box. |
thick | Define a thick right-hand box. |
length | Allows you to customize the width of the right box. |
inherit | Specifies that the border width should be inherited from the parent element. |
Related articles
CSS tutorial: CSS Border
CSS Reference Manual: Border-right Properties