66 of 313 menu

The outline-width property

The outline-width property specifies an outline width - a border that does not take up space. The property value is any size units, except percentages, or the thin (border of 2 pixels), medium (border of 4 pixels) or thick (border of 6 pixels) keywords. Default value: medium.

Syntax

selector { outline-width: value; }

Example

Let's give the element an outline:

<div id="elem"></div> #elem { outline-width: 1px; outline-style: solid; outline-color: black; width: 300px; height: 100px; }

:

See also

byenru