CSS can refer to the following definition, note order:
The code is as follows |
Copy Code |
#menu {line-height:23px;} * * Firefox browser to implement this definition #menu {line-height:26px9;} /*ie6,ie7,ie8 This sentence defines the main cusp to IE8 to hack*/ #menu {*line-height:23px;} /*ie6,ie7 This sentence defines the main cusp to IE7 to hack*/ #menu {_line-height:23px;} /*ie6 Browser First implement the definition of this sentence or write a sentence #menu {line-height:23px; line-height:26px9; *line-height:23px; _line-height:23px;} Or * HTML #menu {line-height:23px}/* IE6 browser implement this definition * * *+html #menu {line-height:23px;} * * IE7 Browser to implement the definition of this sentence
|
Web page to define IE browser alone
All except IE identifiable
all IE identifiable
only IE5.0 can recognize
only IE5.0 and IE5.5 can recognize
IE5.0 and IE5.0 the above version can be recognized
only IE6 identifiable
IE6 and IE6 The following versions recognize
IE6 and IE6 versions that are recognizable
only IE7 recognized
IE7 and IE7 The following versions are recognized
IE7 and IE7 the above versions are recognized