CSS:outline-width
From MDC
« CSS Reference « CSS Reference:Mozilla Extensions
[edit] Summary
outline-width is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out:
- Initial value:
medium - Applies to: all elements
- Inherited: no
- Media:
visual - Computed value:
In browsers previous to Gecko 1.8 (Firefox 1.5) essentially the same effect can be achieved using Mozilla CSS Extension -moz-outline-width.
[edit] Syntax
outline-width: thin | medium | thick | <width> | inherit
[edit] Values
- <width>
- The width of the border.
[edit] Examples
hbox.example {
/* make the outline 10px */
outline-width: 10px;
}
[edit] Specifications
- CSS 2.1
- CSS 3 (FIXME)
- CSS 3 border
[edit] Browser compatibility
| Browser | Lowest Version |
|---|---|
| Internet Explorer | ? |
| Firefox | ? |
| Netscape | ? |
| Opera | ? |
[edit] See also
outline,
outline-width, outline-style, outline-color,
outline-offset,
-moz-outline,
-moz-outline-color, -moz-outline-radius,
-moz-outline-radius-topleft ,-moz-outline-radius-topright,
-moz-outline-radius-bottomleft, -moz-outline-radius-bottomright,
-moz-outline-style, -moz-outline-width, -moz-outline-offset