Benefits and disadvantages of CSS web page layout

Source: Internet
Author: User

With the popularization of WEB2.0 standard design concepts, many large portal websites in China have adopted DIV + CSS production methods. webjx.com has become a pioneer site for CSS webpage layout technology learning, from the actual application, this method is definitely better than the method used to create a page.

Today, most websites still use the form nested content method to create websites. Although this method is familiar and easy to use, it hinders a better, more friendly, more flexible, and more powerful website design method-DIV + CSS.

The significance of CSS web page layout is embodied in the following aspects:

1. Make the page Load faster
Because most of the page code is written in CSS, the page size becomes smaller. Compared with table nesting, DIV + CSS splits pages into more areas and loads them layer by layer when opening pages. Unlike table nesting, the whole page is circled in a big table, making loading slow.

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

3. More efficient Design Modification
Because the DIV + CSS method is used, it is easier to modify the page. Find the corresponding ID in CSS based on the area content tag, which makes it easier to modify the page and does not damage the layout style of other parts of the page.

4. Maintain visual consistency
One of the most important advantages of DIV + CSS is to maintain visual consistency. In the past, the nested table creation method would make the display effect between the page and the page, or between the area and area different. Using DIV + CSS to control all pages or all areas with CSS files avoids the effect deviation of different areas or pages.

5. Better indexed by search engines
Because most of the HTML code and content styles are written into CSS files, this makes the text section in the webpage more prominent and easy to be collected and indexed by search engines.

6. more friendly to viewers and browsers
We all know that the website is made for the viewer, which is more friendly to the viewer and the browser, and DIV + CSS is more advantageous in this regard. Because CSS is rich in rich styles, it makes the page more flexible. It can achieve consistent and non-distorted display effects based on different browsers.

After talking about the significance and advantages of CSS web page layout, you cannot underestimate the side effects of CSS web page layout:

I. Although DIV + CSS is not highly accessible, it is at least more complicated than table positioning. Even if it is difficult for a website designer, it is easy to have problems, let alone a beginner.

2. The design elements of a CSS website are usually placed in an external file, or several files, which may be quite complex or even large. If the CSS file is called abnormally, the whole website will become terrible.

Iii. Although DIV + CSS solves most browser compatibility problems, Some browsers may encounter exceptions. For example, Firefox displays normal pages in IE, the Firefox browser may be totally invisible. Of course, this should be a problem with browsers, but it can be said that currently, DIV + CSS has not achieved unified compatibility of all browsers.

Iv. Whether DIV + CSS is optimized for search engines depends on the professional level of Webpage Design, rather than DIV + CSS itself. The Design of DIV + CSS web pages does not guarantee the optimization of the search engine on the webpage, or even the code design must be more concise than that on the HTML website, what's more, the indexing and sorting of web pages by the search engine is clearly not measured by the use of tables and CSS positioning. This is why many websites with traditional table layout are ranked first in the search results, there are many reasons why the ranking of web pages made using CSS and web standards is still low. Because for search engines, factors such as website structure, content, and related website links are always the most important indicators for website optimization.

Based on the advantages and trend of DIV + CSS discussed above, I think we should not blindly follow suit. It takes a long time to learn and exercise how to use the WEB2.0 design standards more effectively and reasonably, welcome to the webjx.com update Article. How to Use DIV + CSS is better. I think this requires constant practice and health check, and rich design experience, so that we can master this technology well.

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.