HTML and CSS Reference
In-Depth Information
Specify page margins
1.
In Notepad, open layout.css .
2.
In formatting for the <body> tag, add the attributes
margin-top:0
margin-right:0
margin-bottom:0
margin-left:0
body {background:ffffff; margin-top:0; margin-
right:0; margin-bottom:0; margin-left:0 }
3.
Specify a background color of dark blue ( #000099 ) for the page
itself.
Search WWH ::




Custom Search