outline-width

Browser Internet Explorer Netscape Opera Safari Firefox
Version 5.5 6.0 7.0 8.0 8.0 9.0 7.0 8.0 9.2 9.5 1.3 2.0 3.1 1.5 2.0 3.0
Supported No No No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes

Short information
CSS CSS2, CSS2.1
Default value medium
Inherited No
Applied To all elements
HTML analog No
Reference to specification http://www.w3.org/TR/CSS21/ui.html#propdef-outline-width

Description
It determines width of the element external outline. Unlike the attribute border-width, it is impossible to determine a border for every side individually for the attribute outline-width.
You need to determine any value apart from none in the attribute outline-style, if you want the attribute outline-width to work.

Syntax

outline-width: thin | medium | thick | value

Value
thin
There is a thin line. Pixel value can be changed depending on a browser. It usually accounts 1 pixel.
medium
A medium sized line (3 pixels).
thick
A thick sized line (6 pixels).
value
You can use any size items accepted in CSS for exact width determining.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  <title>outline-width</title>
  <style type="text/css">
   #block {
    outline-style: dotted; /* Dotted external border */
    outline-width: 3px; /* External border width */
    padding: 10px; /* Areas around the text */
    border: 3px dotted #000; /* Frame parameters */
   }
  </style>
 </head> 
 <body> 
   <div id="block">
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy 
    nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat.
   </div>
 </body>
</html>

The result of this example is shown on the figure 1


Object model

[window.]document.getElementById("elementID")style.outlineWidth
Network Virtualization
Server Virtualization
Server Virtualization Benefits
Storage Virtualization