1. display: inline-block
This is common, but IE browser is not compatible,
Compatibility with IE browsing: * display: inline; ZOOM: 1;
2. Margin: 0 auto;
Horizontal center, which is invalid in IE,
Compatibility method: You need to add
* Text-align: center;
3. IE is compatible with css3 attributes.
Premise: Download ie-css3.htc
Usage: add
Behavior: URL (ie-css3.htc );
- The current element must have a positioning attribute, such as the position: relative or position: absolute attribute.
- The Z-index value must be higher than that of the surrounding elements.
-
Border-radius |
Set the rounded corner attribute for the four corners of the element Element border |
Set the rounded corner attribute for only one corner |
Box-shadow |
Fuzzy size parameter Offset Value |
Other colors except black (#000) are not supported |
Text-shadow |
Fuzzy size parameter Offset Value Color value |
The performance of IE is slightly different from that of Firefox, Safari, and chrome. The reason is unknown. |
Compatibility with IE