The significance of DIV+CSS Web page layout and the cause of side effects summary 1th/2 page _ Experience Exchange

Source: Internet
Author: User

Today most websites still use the form of nested content to make the site, although this method for us is more familiar, more hands-on; however, it hinders a better, more approachable, more flexible, and more powerful approach to web design--div+css.

The meaning of the CSS page layout is as follows:

One, to make the page load faster

Because most of the page code is written in CSS, the volume of the page size becomes smaller. Relative to the way the table is nested, DIV+CSS will separate the page into more areas, loading the page by layer when it is opened. Instead of putting the entire page in a large table like a table nesting, the load is slow.

Second, reduce the flow costs

The size of the page, browsing speed faster, which makes for some control of the host traffic site is the biggest advantage.

Thirdly, it is more efficient to modify the design

Because of the use of DIV+CSS production methods, it is easier to save time when modifying pages. According to the regional content tag, to find the appropriate ID in the CSS, making it easier to modify the page, and will not destroy the rest of the page layout style.

Iv. Maintaining visual consistency

One of the most important advantages of DIV+CSS: maintain visual consistency; the previous form nesting method will make the page and the page, or region and region between the display effect will be biased. The use of the Div+css method, all pages, or all areas of the unified use of CSS file control, to avoid the different regions or different pages reflect the effect of deviation.

Five, better to be included in the search engine

Because most of the HTML code and content styles are written to the CSS file, this makes the body part of the page more prominent obvious, easy to be collected by search engines.

VI. More affinity to viewers and browsers

We all know that the site is made for viewers to use, the viewer and browser more affinity, div+css in this respect more advantages. Because of the rich style of CSS, so that the page more flexible, it can be based on different browsers, and achieve the unity of the display effect and not distorted.

Current 1/2 page 12 Next read the full text
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.