HTML CSS Reference/HTML Attributes Reference/leftmargin — различия между версиями

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

Текущая версия на 08:20, 26 мая 2010

"leftmargin" Example

    
<html>
<body leftmargin="100">The document has aleft margin of 100px</body>
</html>



leftmargin is applied to

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



"leftmargin" Syntax and Note

Note:
    
This attribute sets the left indented distance in pixels.
The default value is 10.
    
Syntax:
    
<body leftmargin="value"> . . . </body>