The following is Shangpin China( ihucc.com )Some suggestions for website construction: 1、 If the IE frame is not displayed, it should be noted that the height setting has been forgotten;
2、 There is a reason for floating. If the parent layer needs to be included, the floating should be cleared immediately, and the container will naturally appear in it;
3、 There is no need to panic when moving the three pixel text slowly. The height setting helps you;
4、 Be aware that the default row height may be the killer;
5、 To remove floating independently, remember that the row height is set to none, and the height is set to zero, and the design effect is also browsed;
6、 Learning layout requires thinking. The layout principle is natural and straight along the road. It is easy to control html. Streamline layout has less hacks, and the code is clean, compatible, and friendly engines like to welcome.
7、 All tags are active, but they are different by default. span is infinite, and infinite generates two meanings - inline and block level. IMG is special, but it also follows the legal principle. The others are just different from each other. One * sign is completely original, and the stacking style should be practiced more, and everything is regular.
8、 The layout of image links must be careful. If the text links of image links are aligned, the padding and vertical align: middle should be set, although the difference is fine.
9、 IE floating double margin, please use display: inline.
10、 The list shall be arranged horizontally, the list code shall be close to each other, and the clearance shall be kept in mind.
The layout of css is mainly to beautify the overall appearance of the website construction, so that the appearance of the entire website can be better displayed in front of others, which can make others shine in front of them, thus improving the popularity of your entire website.