一些CSS hack已经失去作用

2005.10.1619:45

根据IEblog的消息,IE7中这些CSS hack将不再适用,记一下:

Call to action: Please check your pages
Here is a list of common CSS hacks to look out for (please also consider their variations):

We ask that you please update your pages to not use these CSS hacks. If you want to target IE or bypass IE, you can use conditional comments .

以后可以用条件注释来写针对低版本IE的hack,也就是上面提到的 conditional comments,比如这样:
<!--[if lt IE 7]>
<link rel="stylesheet" href="ie.css" type="text/css" />
<![endif]-->

Comments »

The URI to TrackBack this entry is: http://old9.blogsome.com/2005/10/16/css_hacks_will_not_work/trackback/

No comments yet.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


为防评论机器人,劳驾您输入图片中的字符 :)
captcha