Method A: The outer left is defined to be 760px wide and centered; the inner left_module is defined as the actual left-hand width of 280px and is absolutely positioned, and the top value equals the height defined at the highest level.
The advantage of this approach is that left right two module snippets can be interchanged to adjust display precedence.
Method B: The outer left is defined as 760px wide and centered, relatively floating on top, and the inner left_module is defined as the actual left-hand width 280px, and is absolutely positioned.
The advantage of this approach is that the height of the top can be extended freely.
The outer right is defined as 760px wide and centered, and the inner right_module is defined as the actual right-hand width of 440px, using margin syntax to reside left. The background color defined by Right_module is the actual background color on the right, and the height of the definition is the height of the actual intermediate module;
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