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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access