JavaScript Reference/Javascript Properties/bottomMargin

Материал из Web эксперт
Перейти к: навигация, поиск

"bottomMargin" Example

    
<html>
<body id="myBody">
<button onclick="alert(document.body.bottomMargin);">Bottom Margin</button></body>
</body>
</html>



"bottomMargin" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<body>                                                        |
+----------------+--------------------------------------------------------------+



"bottomMargin" Syntax and Note

Note:
Read and write property. 
Specifies the height in pixels of the <body> bottom margin. 
The default value is 15.
    
Syntax:
    
document.all.bodyID.bottomMargin = value