HTML+CSS structure and performance principle

Source: Internet
Author: User

CSS Web page layout is layout layout, is the Web Designer will be limited visual elements of the organic arrangement of the combination. The layout requirements of UI design are realized mainly through the floating and positioning function of CSS.

Common layouts are: one-column layouts, two-column layouts, three-column layouts, and mixed layouts.

HTML clear Default style: body{margin:0;padding:0;}

Floating (float), absolute positioning (position:absolute) causes elements to move out of the document stream (that is, where the element appears and the document code does not necessarily match).

Clear float: clear:both

The structure and performance principle of page layout: First consider the relationship between the content and content modules in the design diagram, focusing on writing HTML structure and semantics, and then consider the layout and representation.

Web page skinning is the same HTML structure, different styles.

Pictures from the MU-class network

HTML+CSS structure and performance principle

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.