Home  >  Article  >  Web Front-end  >  Ten steps to build a website with css div (one or two steps)_html/css_WEB-ITnose

Ten steps to build a website with css div (one or two steps)_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:32:491068browse

Step one: Plan the website. This tutorial will take the diagram as an example to build the website;

Basic layout

The planning network is mainly composed of five parts

1. Main Navigation navigation bar with button effects.

Width: 760px Height: 50px

2.Header website header icon, including the website’s logo and site name.

Width: 760px Height: 150px

3. Content The main content of the website.

Width: 480px Height: Changes depending on content

4.Sidebar border, some additional information.

Width: 280px Height: Changes depending on content

5.Footer The bottom bar of the website contains copyright information, etc.

Width: 760px Height: 66px.

Step 2: Create html template and file directory;

1."http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ;

CompanyName - PageName
< ;meta http-equiv="Content-Language" content="en-us" />