Padding Borders and Margin

border-style

Defines the style used by all four borders. To set different style in each edge of the border see the related properties border-top-style, border-bottom-style, border-left-style and border-right-style.

Example

border-style: ridge;

Browser support

IE5.5+, FF1+, SA1.3+, OP9.2+

Values

dashed Dashed border line.
dotted Draws a dotted line.
groove Groove border value.
hidden Border style occupies space but is not shown.
inset Border style value.
none Does not apply the properties style.
outset Border style value.
ridge Border line style.
solid Draws a solid line.

Related properties

Can be used with..

Search the Soup!