Div + CSS common two-column/three auto-adaptive width and Column Separation compatible with IE 6 \ 7 \ 8 \ 9 Firefox Google and other browsers

Source: Internet
Author: User
CSS layout, fixed on the right, adaptive width on the left < Div Style = "Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;" > < Div Style = "Width: 200px; float: Right; Background: #090" > This is the content on the right </ Div > < Div Style = "Margin-Right: 210px; Background: # f33" > This is the content on the left, adaptive width </ Div > </ Div >     CSS layout, fixed on the left, adaptive width on the right < Div Style = "Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;" > < Div Style = "Width: 150px; float: Left; Background: #6f0" > This is the fixed content width on the left </ Div > < Div Style = "Margin-left: 160px; Background: # fc0" > Intermediate content, adaptive width </ Div > </ Div >   CSS three-column layout, fixed left and right width, and adaptive middle width < Div Style = "Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;" > < Div Style = "Width: 200px; float: Right; Background: #393" > This is the fixed width of the content on the right </ Div > < Div Style = "Width: 150px; float: Left; Background: # f60" > This is the fixed content width on the left </ Div > < Div Style = "Margin-left: 160px; margin-Right: 210px; Background: #6c3 ;" > Intermediate content, adaptive width </ Div > </ Div Div + CSS are commonly used in two columns/three auto-fit width bars are compatible with IE 6 \ 7 \ 8 \ 9 Firefox Google other browsers
Related Article

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.