HTML Learning note W3SCSS Box model application case (Div layout) Section 11th (original) Reference use table

Source: Internet
Author: User

* {margin:0px;padding:0px;}. Top{width:100%;Height:50px;Background-color:Antiquewhite;}. Top_content{width:75%;Height:50px;margin:0px Auto;/*up and down for 0, left and right adaptive*/Background-color:Aqua;}. Body{margin:20px Auto;width:75%;Height:1500px;Background-color:Aquamarine;}. Body_img{width:100%;Height:400px;Background-color:Beige;Background-image:URL (http://images.cnblogs.com/cnblogs_com/ttzzyy/1076163/t_8l7byyh7pd%[email protected]]2v8h.png);}. Body_content{width:100%;Height:1100px;Background-color:Chartreuse;}. Body_no{width:100%;Height:50px;Background-color:Coral;}. Footing{width:75%;Height:400px;Background-color:Darkblue;margin:0px Auto;}. Footing_content{width:100%;Height:350px;Background-color:Forestgreen;}. Footing_subnav{width:100%;Height:50px;Background-color:mediumturquoise;}
<!DOCTYPE HTML><HTMLLang= "en"><Head>    <MetaCharSet= "UTF-8">    <title>Title</title>    <Linkrel= "stylesheet"href= "Tzy.css"type= "Text/css"></Head><Body><Divclass= "Top">    <Divclass= "Top_content">    </Div>    <Divclass= "Body">        <Divclass= "Body_img"></Div>        <Divclass= "Body_content">            <Divclass= "Body_no"></Div>        </Div>    </Div>    <Divclass= "footing">        <Divclass= "Footing_content"></Div>        <Divclass= "Footing_subnav"></Div>    </Div></Div></Body></HTML>

HTML Learning note W3SCSS Box model application case (Div layout) Section 11th (original) Reference use table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.