bottomMargin attribute (body)
Specifies the thickness of the bottom margin in the document body.
This attribute is deprecated. Use the margin-bottom style property instead.
JavaScript page for this attribute: bottomMargin. You can find other example(s) there. |
Possible values:
String that sets the thickness of the bottom margin with an integer, optionally follwed by 'px' (pixel) unit designator.
Default: 15.
Example HTML code 1:
This example illustrates the use of the bottomMargin attribute:
|
||||
<body bottommargin="130"> There is a 130px tall space at the bottom of the document. <div style="height:400px; background:green;">Go to the bottom of the page!</div> </body> |
||||
|
||||
Did you find this example helpful?
|
Example HTML code 2:
Recommendation:
|
||||
<body style="margin-bottom:130px"> There is a 130px tall space at the bottom of the document. <div style="height:400px; background:green;">Go to the bottom of the page!</div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
User Contributed Comments