Name
RIGHTMARGIN — NN n/a IE 4 HTML n/a
Synopsis
RIGHTMARGIN=”integer"
Optional
Establishes the amount of blank space between the right edge of the
content area of a window and the right edge of the content. This
attribute offers somewhat of a shortcut to setting the
margin-right
style sheet attribute for the
BODY
element. As the outermost parent container in
the element hierarchy, this attribute setting fixes the right margin
context for all nested elements in the document. Be aware that IE on
the Mac does not let content come as close to the right edge of the
window as the Windows version.
Example
<BODY RIGHTMARGIN="25">... </BODY>
Value
A string value of the number of pixels of clear space at the right margin of the document. A value of an empty string is the same as zero.
Default
10
(Windows); 0
(Macintosh).
Object Model Reference
- IE
[window.]document.body.rightMargin
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.