Ie6 compatibility issue record and ie6 compatibility record
1. In the code, the em line feed will cause a blank space. Remove the spaces between em tags without line breaks.
2. Use margin to set a negative value to solve the neighborhood of the module in ie6.
3. How to clear the float: Add overflow: hidden to the parent element.
4. several Block-level elements in ie6, such as div and span, are not set to float, some are set to float right, and the width of a row is enough to put down all block-level elements, however, ie6 will display a line break of the right float.
* Two parts of code can be exchanged.
Disadvantage: Destroy Semantics
* Absolute positioning.
Advantage: No semantics is damaged.
Disadvantage: The amount of code is increased.
* Add float to all of them.
Advantage: Same as above.
Disadvantage: other bugs may occur..
* Add hack. _ Margin-top: XXXXpx;
Advantage: Same as above.
Disadvantage: hack is used.
5. In ie6, when the sub-elements of li are known as the display: block style, it will result in white between li and add _ display: inline to li.
6. If a contains the space-time white part of the row element, the click is invalid. Solution: Add a background color to.