CSS GUIDE -MOZ-OUTLINE
Summary
-moz-outline is a Mozilla property extension to CSS that is used to set the outline of an element. This property combines the use of -moz-outline-color, -moz-outline-style, and -moz-outline-width.
Media: interactive
Syntax
-moz-outline: [-moz-outline-color || -moz-outline-style || -moz-outline-width | inherit] ;
Legal Values
Value | Description |
---|---|
inherit | Inherit the value from parent element. |
-moz-outline-color | -moz-outline-color |
-moz-outline-style | -moz-outline-style |
-moz-outline-width | -moz-outline-width |
Usage Examples
-moz-outline: red solid 10px; /*a solid red outline that is 10px width*/
Notes
Specification Conformance
At the release of Firefox 1.5, CSS 2.1 outline property is supported. The use of this property is now preferred.
Browser Compatibility
Netscape 6+
Mozilla 0.6+
Firefox 1.0+
See Also
References
Mozilla Developer Centre - CSS Reference - Mozilla Extensions (developer.mozilla.org)
Netscape CSS Extensions (blooberry.com)
User Interface for CSS3 (w3.org)