Div+css and its disadvantages what do you know?

Source: Internet
Author: User

What is Div+css

Div+css is one of the most commonly used terms outside of the web-sitting standard (or "web-based standard"), in order to affirm the difference between the positioning of the table (table) that is intended for HTML Web pages, because the XHTML network sits on the assumption that the table is not used to locate the craft, but instead uses the div style to achieve various types of positioning.

CSS is an abbreviation for English cascadingstylesheets (cascading style forms), which is a class of computer language used to represent file patterns such as HTML or XML.

A DIV element is an element that is used to supply the structure and scenery of a chunk (block-level) of content within an HTML document. The contents of the Div's start and end tags are used to form the block, and the features of the element are controlled by the attributes of the div tag, or by using the style sheet to format the block.

The disadvantage and problem of div+css network sitting assumption

Xhtm is currently advocated by the international web-sitting standard concept of language, because the XHTML web sitting assumption of the basic characteristics of language, that type of DIV+CSS model of the network sitting is not necessarily inferior, but currently in the network to foster the use of external div+css mode also has no problems. This paper analyses the taste of the net-sitting craft and the imagination personnel, and from the angle of collecting the marketing utilization, the disadvantage and problems of the DIV+CSS network sitting assumption are summarized as follows:

The disadvantage of div+css network sitting assumption

First, the great disadvantage of CSS means that the code is concise, for a large network sitting, you may save a lot of bandwidth, and household names, search engines like clean code (in fact, the inverse meaning is, added the invalid link word accounted for the Web page Division code of the heavier), this use of div+ The Web Standard system of CSS NES the inevitable disadvantage of no search engine hostility.

Secondly, the DIV+CSS system of the net sitting makes the Web seat revision relatively simple, a lot of problems only need to change the CSS without changing the French, so as to reduce the cost of the Web seat revision.

The problem of the DIV+CSS network sitting idea

Although the DIV+CSS has no inevitable disadvantage, but at this stage Css+div network sitting to foster the problem is also more than the force, the secondary means is:

First, the high reliance on CSS makes the Web page vision more complex than pure. Relative to the table structure (table) outside of html4.0, although the div+css is not high, but at least more than the table positioning complex, even if the master of the network sitting is also very difficult to show the problem, not to mention beginners, that is bound to affect the XHTML web sitting ideas of the popularization of the use of language.

Second, the CSS file is very will affect 0 web sitting general browsing. The concept of CSS Web sitting system is usually placed in several L external files, that one or several files may not be quite complex, so more complex, if the CSS file misappropriation present is very, then 0 nets sit will become extremely tragic.

Third, the browser compatibility problem for the CSS web-sitting scenario is more salient than the force. The html4.0 Web site envisages that there is little browser-compatible problem outside the ie4.0 version, but Div+css's imagined web sits in a page that is generally displayed in IE browsers, To Firefox (Firefox), it may look totally out of the way (that's why it's recommended to collect marketers using the Firefox browser). DIV+CSS is not yet ready to be further accepted by various browser vendors.

Finally, whether div+css to search engine degradation depends on the degree of blogging that the website envisions rather than the div+css itself. DIV+CSS Web site can not guarantee the Web page to the search engine deterioration, so that can not guarantee that the HTML Web seat is not more concise than the idea of the code, and the search engine for the Web page collection and ranking is not to be able to use the table and CSS positioning to weigh, That's why a lot of conservative table-structured web sitting is searching for the right sort of thing to do, and a lot of the Web pages that use CSS and web standards are still on the back end. Because for the search engine, the network sits the structure, the content, the related network sits the link and so on element One song is the network sits down the most main policy.

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.