1, first began to analyze the structure of the Web page, a Web page is generally divided into three large parts: top header, Content contents, footer footer
Top header:
Advertisement propaganda banner;
Navigation Bar Nav;
Content:
Two-column layout left, right;
Footer Footer
2, the following is a simple template, a set of styles on the inside can be
<! DOCTYPE html>
<meta charset= "Utf-8" >
<title> Layout </title>
<body>
<div class= "Container" >//a Web page is a big container.
<nav>
</nav>
<div class= "banner" >
<p> here general picture </P>
</div>
<div class= "page" >//use a div to enclose the entire page
<div class= "left" >//here the layout can be up and down also can be around
</div>
<div class= "Right" >
</div>
</div>
<footer>
</footer>
</div>
<body>
The coming will always come, as long as the right thing to do well now. —.—
CSS transduction Tutorials