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
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.