我有一个问题,IE7风格在古怪模式中看起来大部分是正确的,但在标准模式下,它忽略或看不到许多样式。古怪的模式版本看起来更接近在Chrome和Firefox中的样子。
更新
我发现该文件在CSS文件中有一个语法错误,这导致CSS中该点以下的所有内容被IE7忽略。
发布于 2012-12-10 12:06:53
IE 7呈现的web文件与其他浏览器不同(IE的其他版本也是如此)。
要解决这个问题,您需要对每个IE版本使用css攻击:
<!--[if IE 7]>
<link rel="Stylesheet" type="text/css" href="styles/ie7_styles.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="Stylesheet" type="text/css" href="styles/ie8_styles.css" />
<![endif]-->
<!--[if IE 9]>
<link rel="Stylesheet" type="text/css" href="styles/ie9_styles.css" />
<![endif]-->https://stackoverflow.com/questions/13800505
复制相似问题