Using Web standards to design a Web site, the transition approach is primarily a xhtml+css,css style sheet that is essential. This requires all web designers must be proficient in CSS, if you have not used to use, then start learning now. If you want to make Web-standard Web sites, you don't know how to design a beautiful page with CSS. In fact, all the areas of performance need to be implemented with CSS. We used to use table to locate and layout, and now we want to position and layout using div instead. This is a change in the way of thinking, at first some are not accustomed to. Oh, any change will have resistance, in order to enjoy the "benefits" of the standard, it is worthwhile to abandon some old traditional practices. 1. External call style sheet In the past, we usually used style sheets in 2 ways: (1) Page embedding method: is to write the style sheet directly in the head area of the page code. Something like this: (2) External calling method: Write the stylesheet in a separate. css file, and then call it in the page head like the following code. In the design that conforms to the Web standard, we use the external modulation usage, the benefit is self-evident, you can change the page style without modifying the page only. css file. If all pages call the same style sheet file, changing a style sheet file can change the style of all files. 2. Double table method call style sheet To see some of the original code that matches the standard site, you might see the following 2 sentences where the style sheet is invoked: |