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