Padding Borders and Margin

outline-style

Specifies the style of line for an outline. An outline works similar to a border, except an outline doesn’t occupy any space, that is, it doest add to the width and height of an element. It is intended for highlighting an elements on the page.

Example

outline-style: groove;

Browser support

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

Values

dashed Dashed border line.
dotted Draws a dotted line.
double Draws two lines as border.
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!