Web site refactoring for small and medium sized sites

Source: Internet
Author: User
Keywords Revision now no website refactoring

Because I talents, to Div also didn't thorough thorough research thoroughly, just by oneself of a little understanding and write, Hope Master don't throw bricks.

Cut the crap and go straight to the point.

Now the national large and small sites are engaged in a technology "revolution", is the so-called "site refactoring" said Simple point is div http://www.aliyun.com/zixun/aggregation/13355.html "> website production." Use Div instead of the traditional table-making frame and landscaping page. Before refactoring, we must understand why refactoring, why to use div technology? Understand this problem, then you can use this technology to refactor the power of the site. The major CSS learning sites and tutorials will enumerate the following advantages of using div:

1, Content and form separation, the front page only need to display content on the line, the form of art to the CSS to deal with. The generated HTML file code is streamlined and smaller to open faster.

2, the revision of the site easier, no need to redesign the page, or even do not move the original site of any HTML and program pages, just to change the CSS file to complete all the revision. For the portal site, the revision is just as easy as changing clothes.

3, search engine more friendly, ranking easier to lean forward.

The above three points are the most attractive and outstanding three points of n many benefits. I will introduce these three points:

1th, the revision website is simpler and easier, does not need to redesign the typesetting webpage, even does not have to move the original website any HTML and the program page, only needs to change the CSS file to complete all revision.

Div for the portal site revision is like changing clothes as simple and easy, when the revision, do not change the entire station HTML page, just need to write CSS, and then with a new CSS overlay the previous CSS can be achieved. It's convenient.

Convenience is convenient, but a Web site, I would like to ask is not one months to change the version? or half a year to change it? It is estimated that the site is so frequent. Now many well-known web sites, industries, portals, including personal sites, at most, is a year to change the version. A year to change the version, you only use one time to write CSS once a year, and you write the time of the CSS time, than I used to make a table one or two times times slower (technical proficiency). Then why do I have to use CSS ah? I use the same effect as the table can be completed, two minutes to do the form, you use CSS to write to use 10 minutes.

National Small and medium-sized Webmaster Web site Data volume is generally in 100,000 data, now use the automatic batch generation HTML function, the generation is not in a few hours time. It's not a big deal for a year.

So unless you change the site one months, then you still use the most skilled and convenient way to achieve web design is wonderful.

Of course, if your CSS has been learned like fire pure green, but also a code madman. You're talking nonsense.

2nd, the content and form of separation, the front page only need to display content on the line, the form of art to CSS to deal with. The generated HTML file code is streamlined and smaller to open faster.

This is the most current feature of Div technology, but also the root of the existence of CSS. Completely subvert the current traditional (table) Web design technology. All the content now made with table can be solved with CSS, and the solution is more perfect and more powerful. Do not need everyone to form a table, just want to use Div set Div can achieve the previous form of the table all art, the result is the use of DIV technology, so that the resulting web page file size is more concise, smaller.

Table era, a page table to achieve more than 10 is very common things, but now with Div, a table can not be used to fully achieve the previous effect, which directly results in the Web page file size than the use of table when the reduction of 50%-80%, save the webmaster's hard disk space , visitors open the page faster, and with Div, unlike the previous use of table, must be read all the table to display the page content, it is now possible to read a div to show an effect, we open the page do not have to wait. The benefits are obvious and powerful.

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.