HTML and CSS Reference
In-Depth Information
The above was the code needed for the
#page
CSS;
now add the HTML for it.
Save your
style.css
file and add the basic HTML
structure for
#page
, just as you added it for the
#header
container.
<div id=”page”>
<div class=”container”>
</div><!-- end .container -->
</div><!-- end #page -->
Monoplate
shows a 3 pixels border line above the
content of the
#page
container.
There is a
div.container
inside the
#page
, responsible
for centering the content, so you can include the
border line with that selector:
#page div.container
.