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<DivStyle="Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;"><DivStyle="Width: 200px; float: Right; Background: #090"> This is the content on the right </Div><DivStyle="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<DivStyle="Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;"><DivStyle="Width: 150px; float: Left; Background: #6f0"> This is the fixed content width on the left </Div><DivStyle="Margin-left: 160px; Background: # fc0"> Intermediate content, adaptive width </Div></Div>CSS three-column layout, fixed left and right width, and adaptive middle width<DivStyle="Width: 90%; margin: 0 auto; overflow: auto; _ display: inline-block ;"><DivStyle="Width: 200px; float: Right; Background: #393"> This is the fixed width of the content on the right </Div><DivStyle="Width: 150px; float: Left; Background: # f60"> This is the fixed content width on the left </Div><DivStyle="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
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.