Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS border-bottom-style property

CSS border-bottom-style property

Example

Set the bottom border style:

p

{

border-style:

solid

;

border-bottom-style:

dotted

;

}

Try it »


Property definition and usage

The border-bottom-style property sets the style of an element's bottom border.

Default value: not specified
Inherited: no
Version: CSS1
JavaScript syntax: object object.style.borderBottomStyle="dotted"

Browser support

The numbers in the table indicate the first browser version that supports this property.

property
border-bottom-style 1.0 5.5 1.0 1.0 9.2

Attribute values

Value Description
none Specifies no border
hidden Same as "none". Except when applied to tables, where hidden is used to resolve border conflicts.
dotted Specifies a dotted border
dashed Specifies a dashed border
solid Specifies a solid border
double Specifies a double border
groove Defines a double line. The width of the double line equals the value of border-width
ridge Defines a three-dimensional groove border. Its effect depends on the value of border-color
inset Defines a three-dimensional inset border. Its effect depends on the value of border-color
outset Defines a three-dimensional outset border. Its effect depends on the value of border-color
inherit Specifies that the border style should be inherited from the parent element

 


Related Articles

CSS Tutorial: CSS Border

CSS Reference Manual: border-bottom property