The border-right property is a shorthand property for setting the border-right-width and/or the
border-style and/or the border-color in one declaration.
Inherited: No
Example
table
{
border-right: thin dotted #00FF00
}
table
{
border-right: thick #0000FF
}
Possible Values
Value
Description
NN
IE
border-right-width
border-style
border-color
Sets the properties for the right border
6.0
4.0
Browser Notes
Note in IE 4.0-5.0:
This property does not work with inline elements
Note in IE 5.5 Beta 1:
This property works with inline elements
Note in Netscape 4.0+:
This property is not recognized. Use the "border-right-width" property to set the width of the
right border
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.