You are here: Reference > CSS > properties > browser specific extensions > -moz-outline-width

-moz-outline-width property

Browser support:
3.6
Sets the width of the outline.
Deprecated and the support for it has been removed in Firefox 3.6. Use the cross-browser outline-width property instead.
JavaScript page for this property: MozOutlineWidth. You can find other example(s) there.

Possible values:

 One of the following values: 
inherit
Takes the value of this property from the computed style of the parent element.
medium
Default.
outline width in non-negative length
The width of the outline in length units. For the supported length units, see the length page.
thick
Greater than the medium width.
thin
Less than the medium width.
Default: medium.

Example HTML code 1:

This example illustrates the use of the -moz-outline-width property:
<head>
    <style>
        .example {
            -moz-outline-width: 1px;
            -moz-outline-style: solid;
            -moz-outline-color: blue;
        }
    </style>
</head>
<body>
    <div class="example">Outline: 1px solid blue</div>
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content