1

标题说明了一切。这是我的截图

IE8:http ://screencast.com/t/Sc4XXe8jFfu9

IE7:http ://screencast.com/t/xeyRCzXN3

这有点奇怪,但由于优先级不正确,它在我的网站上引起了很多 css 问题。

TIA

编辑

<!DOCTYPE HTML>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath();?>/css/bootstrap.css" />
    <!-- <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath();?>/css/responsive-nav-media.css" /> -->
    <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath();?>/css/responsive-nav.css" />
    <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />
    <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('main.css')?>" />
    <!--[if IE]>
    <style type="text/css">
        body#theme-wrapper #header {
            position: relative;
        }
    </style>
    <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getThemePath();?>/css/ie.css" />
    <![endif]-->
    <script type="text/javascript" src="<?php echo $this->getThemePath();?>/js/modernizr.custom.js"></script>
    <script type="text/javascript" src="<?php echo $this->getThemePath();?>/js/grayscale.js"></script>
    <script type="text/javascript">
        Modernizr.load([
          {
            test : Modernizr.mq('only all'),
            nope : '<?php echo $this->getThemePath();?>/js/respondjs.js'
          }
        ]);
    </script>
    <script type="text/javascript" src="<?php echo $this->getThemePath();?>/js/responsive-nav.js"></script>
    <script type="text/javascript" src="<?php echo $this->getThemePath();?>/js/bootstrap.min.js"></script>
    <link href="http://fonts.googleapis.com/css?family=Raleway:400,100,700" rel="stylesheet" type="text/css" />
</head>
4

0 回答 0