- <!– 默认先调用css.css样式表 –>
- <link rel=”stylesheet” type=”text/css” href=”css.css” />
- <!–[if IE 7]>
- <!– 如果IE浏览器版是7,调用ie7.css样式表 –>
- <link rel=”stylesheet” type=”text/css” href=”ie7.css” />
- <![endif]–>
- <!–[if lte IE 6]>
- <!– 如果IE浏览器版本小于等于6,调用ie.css样式表 –>
- <link rel=”stylesheet” type=”text/css” href=”ie.css” />
- <![endif]–>
针对不同版本的IE调用不同CSS样式
最新推荐文章于 2015-12-07 16:14:00 发布
本文详细介绍了如何通过使用HTML链接标签和条件注释来为不同版本的IE浏览器提供特定的CSS样式表,确保网站在各种浏览器环境下都能正常显示。
356

被折叠的 条评论
为什么被折叠?



