|
|
|
|
|
|
| |
The border-bottom-style property (CSS Reference)
Introduction
This property is used to set the style of the bottom border.
The following example demonstrates the bottom border with a dotted border and
the others with a solid border.
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-bottom-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:Black;
border-right-style:solid;
border-top-width:3px;
border-top-color:Black;
border-top-style:solid;
border-bottom-width:3px;
border-bottom-color:red;
border-bottom-style:dotted;
}
</style>
</head>
<body>
<h1><p class="border">The bottom
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.
|
|
|
|
|
|
|
|
|