jma*_*ris 2 standards filter internet-explorer-8
最近,我一直在网站上工作(http://getcours.tk/),它在Chrome(So webkit)和Firefox(So Gecko)中运行良好,但我只是在Internet Explorer 8中尝试过,因为它没有似乎遵循CSS3标准,它无法正确呈现它.
我只是想向Internet Explorer 8及以下用户(ie9作品)显示一条消息,说该网站在浏览器中显示不正确,如果他们希望正确看到它们,他们应该使用现代浏览器.
真的希望有一个人在这里,感谢任何可以提供帮助的人
-jman6495
实际上它真的很简单.您可以将其粘贴到页面中的任何位置,其中的所有内容都只能由IE8及以下版本呈现
<!--[if lt IE 8]>
//Whatever you want here
//For example, specific css only for IE
<link rel="stylesheet" type="text/css" href="cssIE.css" />
<![endif]-->
Run Code Online (Sandbox Code Playgroud)
类似地,您可以使用"gt"(大于)而不是"lt"或您想要的任何数字版本.
| 归档时间: |
|
| 查看次数: |
3595 次 |
| 最近记录: |