What are the obvious advantages of DIV+CSS Web page layout versus table

Source: Internet
Author: User

Div+css is one of the commonly used terms in Web site standards (or "web standards"), usually to illustrate the difference in how tables are positioned in the HTML web design language, because the XHTML web design standard does not use the table positioning technique, but instead uses the div+ CSS way to achieve a variety of styles to make positioning.

Div is an element of HTML (hypertext language), Div+css is a kind of Web page layout method, this kind of Web page layout method differs from the traditional table layout, and truly achieves the separation of the content and performance of the Internet.

Div is a label CSS is a cascading style sheet (CSS style)

Div CSS Advanced Layout has gradually become popular, but in the face of the so-called div+css layout of the people more worried, do not let div become a substitute for table, multi-layer nested div will seriously affect the readability of the code, using HTML to provide us with the tag bar.


Characteristics of Div+css:

1, in line with the standard of the consortium. Companies such as Microsoft are supporters of the consortium. This is most important because it guarantees that your site will not be eliminated because of future upgrades to your Web applications.

2, supporting the browser's backward compatibility, that is, regardless of the future of the browser war, victory is IE7 or Firefox, your site can be very good compatibility.

3, search engine more friendly. Compared with the traditional table, the use of DIV+CSS technology Web pages, for the search engine is more friendly.

4, the adjustment of the style is more convenient. The separation of content and style makes it easier to adjust pages and styles. Now YAHOO,MSN and other international portals, NetEase, Sina and other domestic portals, and the mainstream of the WEB2.0 site, are using the DIV+CSS framework model, more confirmed that DIV+CSS is the general trend. Now many personal webmaster new sites have adopted div+css to build their own website page, Visible div+css alternative table is not a distant dream.

5, through the production of the same page using table to do the page and div+css produced by the page size contrast, div+css XHTML page size at least small table production page 1/4. So that the browsing div+css pages faster and faster.

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.