Div+css the meaning of Web page layout and the causes of side effects 1th/2 Page _ Experience Exchange

Source: Internet
Author: User
Today, most websites still use tabular nesting to make websites, although this approach is familiar to us, but it hinders a better, more approachable, more flexible, and more powerful approach to web design--div+css.

The meaning of CSS Web page layout is as follows:

First, make the page load faster

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

Second, reduce the cost of traffic

The page size is smaller and the browsing speed is faster, which makes it the biggest advantage for some websites that control host traffic.

Third, modify the design more efficient

Thanks to the Div+css authoring method, it is easier to save time when modifying a page. Depending on the area content tag, the corresponding ID is found in the CSS, which makes it more convenient to modify the page and does not break the layout style of other parts of the page.

Iv. Maintaining visual consistency

One of the most important advantages of DIV+CSS: maintaining visual consistency; the way in which previous forms are nested makes it possible to skew the display of pages and pages, or between regions and regions. Using Div+css's production method, all pages, or all areas of the unified CSS file control, to avoid the different areas or different pages reflect the effect of the deviation.

V. Better to be indexed by search engines

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

Vi. more affinity for viewers and browsers

We all know that the site is to be used for viewers, viewers and browsers more affinity, div+css in this respect more advantages. Because CSS is rich in style, making the page more flexible, it can be based on different browsers, and achieve the unity and non-deformation of the display effect.

  • 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.