outline-offset

Sets the offset of the outline frame outside of the border edge.

Syntax

{outline-offset: sOffest }

Possible values

sOffest

A floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px).

This property has a default value of 0. It is not inherited.

Remarks

Displaying an outline does not cause reflow, no matter how wide the outline is. The outline frame is drawn over an element, and does not influence the position or size of the box, or of any other boxes.

Standards Information

Important

This documentation is preliminary and subject to change.

Applies to

a, abbr, acronym, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldset, font, form, frame, hn, hr, i, iframe, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, ins, isindex, kbd, label, li, listing, marquee, menu, nobr, object, ol, p, plaintext, pre, q, s, samp, small, span, strike, strong, sub, sup, table, td, textarea, th, tt, u, ul, var, xmp

See also

Concepts

outline
outline-color
outline-style

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.