1. Background: URL (../images/member_right.gif) 0-35px;
In IE and chrome, The 'px 'After-35 is optional, but Firefox must be added. Safari and opera are not tested yet;
2. Padding attributes
After ieset this attribute, div will increase the height and width, but Firefox and chrome won't. Safari and opera are not tested yet;
CSS hack distinguishes IE6/IE7/IE8/ie9 from other standard browsers (such as chrome and Firefox)
# Test
{
Width : 300px ;
Height : 300px ;
Background-color : Blue ; /* Standard browsers such as chrome */ Background-color : Red \ 9 ; /* All IE browsers can recognize */ Background-color: Green \ 9;/* IE8 or the following browsers can recognizeIe9 unrecognized*/
* Background-color : Pink ; /* Identification of IE7 and IE6 */
_ Background-color : Orange ; /* IE6 Recognition */
} Note: The difference between background-color: Red \ 9 and background-color: Green \ 9 lies in the space before "\ 9 ". If there is a space in front of "\ 9", the IE 9 browser cannot recognize it, and the IE 8 or earlier versions can recognize it. If there is no space in front of "\ 9", that is Background-color: Red \ 9. At this time, all IE browsers including ie9 can recognize this, which is a little weird...