-moz-outline-offset property
3.6 |
Sets the amount of space between the outline and the border or the edge of the element.
Deprecated and the support for it has been removed in Firefox 3.6.
Use the widely supported outline-offset property instead.
JavaScript page for this property: MozOutlineOffset. You can find other example(s) there. |
Possible values:
One of the following values:
Takes the value of this property from the computed style of the parent element. | |||||||
The width of the space in length units. For the supported length units, see the length page. |
Default: 0.
Example HTML code 1:
This example illustrates the use of the -moz-outline-offset property:
|
||||
<head> <style> .example { -moz-outline-width: 2px; -moz-outline-style: solid; -moz-outline-color: blue; border: 1px solid black; width: 200px; } .offset5px { -moz-outline-offset: 5px; } .offset20px { -moz-outline-offset: 20px; } </style> </head> <body> <div class="example offset5px">-moz-outline-offset: 5px</div> <br /><br /><br /> <div class="example offset20px">-moz-outline-offset: 20px</div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, applet, b, bdo, big, blink, blockQuote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldSet, font, form, H1, H2, H3, H4, H5, H6, hr, html, i, iframe, img, input:button, input:checkbox, input:file, input:image, input:password, input:radio, input:reset, input:submit, input:text, ins, isIndex, kbd, label, legend, li, marquee, menu, object, ol, optGroup, option, p, pre, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tr, tt, u, ul, var
Related pages:
-moz-outline
-moz-outline-color
-moz-outline-radius
-moz-outline-radius-bottomleft
-moz-outline-radius-bottomright
-moz-outline-radius-topleft
-moz-outline-radius-topright
-moz-outline-style
-moz-outline-width
outline
outline-color
outline-offset
outline-style
outline-width
-moz-outline-color
-moz-outline-radius
-moz-outline-radius-bottomleft
-moz-outline-radius-bottomright
-moz-outline-radius-topleft
-moz-outline-radius-topright
-moz-outline-style
-moz-outline-width
outline
outline-color
outline-offset
outline-style
outline-width
External links:
User Contributed Comments