|
|
|
|
|
|
| |
The border-right-style property (CSS Reference)
Introduction
This property can be used to specify the style of the right
border. The following example demonstrates the right border with a dotted line
and the others with a solid line.
Example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>border-right-style
Demonstration</title>
<style type="text/css">
p.border
{
border-left-width:3px;
border-left-color:black;
border-left-style:solid;
border-right-width:3px;
border-right-color:red;
border-right-style:dotted;
border-top-width:3px;
border-top-color:Black;
border-top-style:solid;
border-bottom-width:3px;
border-bottom-color:Black;
border-bottom-style:solid;
}
</style>
</head>
<body>
<h1><p class="border">The red border
should be dotted.</p></h1>
</body>
</html>
Output

Values
|
Name:
|
Description:
|
|
Dashed
|
A dashed border will be used.
|
|
Dotted
|
A dotted border will be used.
|
|
double
|
A double solid border will be used.
|
|
groove
|
A 3D grove effect appears on the border.
|
|
hidden
|
No border or a hidden border.
|
|
inset
|
A 3D inset effect appears on the border.
|
|
none
|
No border will be shown.
|
|
outset
|
A 3D outset effect appears on the border.
|
|
ridge
|
A 3D ridge effect appears on the border.
|
|
solid
|
A solid border will be used.
|
|
|
|
|
|
|
|
|