Two-wing layout of CSS layout

Source: Internet
Author: User

<!--two-wing layout ideas: Both fixed-width on both sides, the middle of the adaptive three-column layout, where the middle column in front of the document flow to ensure that the first rendering--><! DOCTYPE html>"en">"UTF-8"> <title> Dual Wing layout </title> <style type="Text/css">. first{Width: -%; }. main{float: left;width: -%;min-height:30px;background-Color:yellow; }. left{float: Left;width:190px;min-height:30px;background-color:red;margin-left:- -%; }. right{Width:190px;min-height:30px;background-color:blue;float: Left;margin-left:-190px; }. Main-wrap{margin-left:200px;margin-right:200px; Background-Color:green; Min-height:30px; }    </style>class=" First"> <divclass="Main"> <divclass="Main-wrap"> I am the main column </div> </div> <divclass=" Left"> I am a child column </div> <divclass=" Right"> I'm an add-on column </div></div> </body>

Two-wing layout of CSS layout

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.