FIX CSS<! - [if lt IE 8]>在IE [英] FIX CSS <!--[if lt IE 8]> in IE
本文介绍了FIX CSS<! - [if lt IE 8]>在IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用此
<!--[if lt IE 8]>
<style type='text/css'>
#header ul#h-menu li a{font-weight:normal!important}
</style>
<![endif]-->
if i remove - [if lt IE 8]><![endif] - >
上面的代码将在IE 8运行良好,但如果我不运行。
if i remove <!--[if lt IE 8]><![endif]-->
Above code 'll run good in IE 8 but if i dont it dont run.
Help me with fixed IE, if i want in above code in all IE version,.
我想要的代码 #header ul#
只在IE中运行
如果我想在所有IE版本的上面的代码, h-menu li a {font-weight:normal!important}
i want code #header ul#h-menu li a{font-weight:normal!important}
run only in IE
推荐答案
如果你想要在IE 8及以下版本中工作,请使用
If you want this to work in IE 8 and below, use
<!--[if lte IE 8]>
lte
。
有关条件注释的更多信息,请参阅 quirksmode.org页面。
For more on conditional comments, see e.g. the quirksmode.org page.
这篇关于FIX CSS<! - [if lt IE 8]>在IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文