Name
bottomMargin — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
The amount of blank space between the very end of content and the
bottom of a scrollable page. The setting has no visual effect if the
length of the content or size of the window does not cause the window
to scroll. The default value is for the end of content to be flush
with the end of the document, but in the Macintosh version of
Internet Explorer 4, there is about a 10-pixel margin visible even
when the property is set to zero. Larger sizes are reflected
properly. This property offers somewhat of a shortcut or alternate to
setting the marginBottom style sheet property for
the BODY element object.
Example
document.body.bottomMargin = 20
Value
An integer value (zero or greater) of the number of pixels of clear space at the bottom of the document.
Default
0
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