CSS border-right Property
Complete CSS Reference
Definition
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
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.borderRight="thick solid
#0000FF"
In our HTML DOM tutorial you can find more details about the
borderRight property.
In our HTML DOM tutorial you can also find a full
Style Object Reference.
Example
|
table
{
border-right: thin dotted #00FF00
}
table
{
border-right: thick #0000FF
}
|
Possible Values
| Value |
Description |
border-right-width
border-style
border-color |
Sets the properties for the right border |
Try-It-Yourself Demos
All the right border
properties in one declaration
This example demonstrates a shorthand property for setting all of the properties for the
right border in one declaration.
Complete CSS Reference
|