'leftmargin' sets the left indented distance in pixels : body « Tags « HTML / CSS






'leftmargin' sets the left indented distance in pixels

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








Related examples in the same category

1.'body' defines where to display all text, graphics, and other web page content
2.Single paragraph in body
3.Set font size for body
4.Set margin for body to '10% 10% 20% 10%'
5.Set font family for body
6.Set body background image and no repeat
7.Set repeat to repeat-x for
8.Set background image to no-repeat, and background-position to 75px 150px
9.Set body margin to 10%
10.Body margin
11.Set body font: 76% arial,sans-serif
12.body background-repeat: no-repeat
13.body font: 14px sans-serif;
14.body color: darkslateblue;
15.body border: 5px dashed darkslateblue;
16.body margin: 10px;
17.body padding: 10px;
18.body text-align: center;
19.body margin: 0;
20.body padding: 0;
21.body font: 73% arial, verdana, tahoma, "Trebuchet MS", sans-serif;
22.body line-height: 1.7em;
23.body color: #333;
24.body background: #fff;
25.Body text-align: left;
26.Body background: #858563 url(img/bgd.png) repeat-y top center;
27.body font: 75% "Trebuchet MS", verdana, arial, tahoma, sans-serif;
28.body line-height: 1.8em;
29.body color: #666;
30.body background: #E16027 url(img/bg.jpg) repeat-y top center;
31.Background image for body
32.body margin: 0; padding: 1.5em; border: 50px #666 ridge;
33.body margin-left: 15%; margin-right: 15%;
34.Set up the body
35.body white-space: pre;
36.width and height percentage for html and body no margin
37.?Body margin: 0 auto;
38.Body background-color: #3E3E2D;
39.Body background-image: url('image-demo-2011/Page-BgGlare.png');
40.Body background-repeat: repeat;
41.Body background-attachment: scroll;
42.Body background-position: top left;
43.Body center
44.Body font-family: Arial, Helvetica, sans-serif;
45.Body font-size: 13px;
46.Narrow body
47.body font: 1em sans-serif;
48.background-attachment positions the background image relative to the body and forces the background image to remain fixed in place when the document is scrolled.
49.body background properties
50.'link' sets the color of all links in an HTML document
51.'vlink' sets the link color that have already been visited
52.'bgproperties' sets the scroll properties of the background image
53.'bottommargin' sets the height in pixels of the page bottom margin
54.'rightmargin' sets the right margin in pixels
55.'topmargin' sets top margin in pixels