我有一个标题
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 9]>
<html class="ie ie9" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 10]>
<html class="ie ie10" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) & !(IE 8) & !(IE 9) & !(IE 10)]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->在我的虚拟机器中,我运行了一个版本的IE10。
.ie10 body {
background:blue;
}问题是,我必须将文档放到ie9中,才能让它拾取样式。为什么它不能像我想的那样工作。

发布于 2015-11-20 07:27:02
https://stackoverflow.com/questions/33778447
复制相似问题