CSS page layout is good and bad

Source: Internet
Author: User
Tags modify

Many large domestic portal sites have adopted DIV+CSS production methods, from the actual application of the situation, this method is absolutely better than the form of the method of making pages.

Today, most of the Web site still uses the form of nested content to make the site, although this method for us 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, 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.

Four, maintain visual consistency

One of the most important advantages of DIV+CSS: maintaining visual consistency;

In the past, the method of making the table nesting will make the page and the page, or the region and the display of the 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.

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.