Back to DOM
DOM.Styles.Margin
Namespace: DOM.Styles
Represents the margin (inset) values around an element, page or container.
groups four directionalvalues that describe the spacing between the element's content edge and its outer boundary. Values may be expressed in absolute units (points, EMU, mm, etc.) or as relative percentages when supported by the consumer. Layout and rendering code should read these values when computing content box sizes and positioning.
4 members
Properties
BottomDocumentUnit
Gets or sets the bottom margin distance.
LeftDocumentUnit
Gets or sets the left margin distance.
RightDocumentUnit
Gets or sets the right margin distance.
TopDocumentUnit
Gets or sets the top margin distance.