CSS Layout Experience Analysis: avoid misunderstanding

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Why am I writing this article? In fact, in the study of Div not too much to see the experience of predecessors, just read the book Blind Practice, can put the layout of the cloth to feel that they really learned the div layout, in fact, a long time ago will be written, has been no time, Take out today to share with you if avoid misunderstanding.

Oneself in the development of CSS is also more than half a year, in fact, Div's real name is called XHTML+CSS, in order to facilitate and HTML difference I will write Div, I just started to write CSS is also like some students just learned, feel table faster than Div, A few boxes on the Web page with pictures out OK, but if you really learn the div after you will feel its advantages and convenience, the following points to the topic, I said today's error is to choose the right of the browser will be a div for you to learn a turning point.

I said my experience, in the last year when I was using IE6, but in the development of their own learning network is also when I just began to learn Div, do not know what is compatible, read the introduction, but did not really met, At that time with standard code in the IE6 is simply a dislocation, I thought it was my own technical problems! I will be based on the dislocation of the layout of the code to change the IE6 under the correct, then I have no other browser computer, in fact, TT, the window of the world those are based on your native IE kernel, The test does not come out at all, developed a period of time after slowly to IE6 specifications to develop, in today's year, I installed the WIN7 after IE automatically upgraded to IE8, suddenly in front of silly, in the IE6 so-called neat layout unexpectedly in IE8 take a bit serious, and then I changed the download IE7 and FF, Some of the OP's viewers are basically a bit of a test. This time I basically stay, a good layout of their own development, in other visitors is disorderly, that time I changed my mind to look at some standard CSS, and then follow the standard and SEO-specific CSS terminology for the development, After hard work really does not bear, now even more and more familiar with the standard of writing.

Here I share the experience bar, in the development of css+div layout in accordance with the FF and IE8 to develop, now these two basic nothing wrong, and then IE6 and IE7 use hack or!important to write all can, but the best is to do the standard, do not need to write these hack. Once I was in NetEase 163 to see their CSS when unexpectedly did not find a!important, we may wish to see some of the large web site, combining their own habits.

My website: http://www.gzse7en.com

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.