07
Jan
关于important在ie7下又被识别
Posted by: smoke520在ie7测试版的时候,important曾被ie7识别,但是正式版的时候,又不识别了,这样就可以继续用!important来区分ie和firefox。但是,现在我发现,ie7好像又识别important了,这样就不能用它来区别ie和firefox了。这样就需要用*html 区分ie6 *+html 区分ie7,感觉这样用更好些,因为可以不用去管important是否再别识别。
但是又一点,我使用中发现的 *html .xxx,*+html .xxx不能用这样的继承方式来写。这样的话会在ie6下失效。
Tags: css, ie6, ie7, important, 区分ie与firefox
01月 22nd, 2008 at 12:43 am
有没其它方法来区分呢?
Sign: martin / China lenloon