js和css只在index.php中工作

时间:2015-03-05 07:34:53

标签: javascript php jquery html css

尝试简化我的问题。

例如我有文件index.phpabout.php

about.php - <{1}}

完整副本

index.php和about.php的内容:

index.php

head.php的内容

<? include 'head.php'; ?>
//some content (problem not here, because for debugging I am copy index to about by ctrl+a ctrl+c)
<? include 'footer.php'; ?>

footer.php的内容

<!-- Theme CSS -->
<link href="css/style.css" rel="stylesheet" media="screen">

<!-- Skins Theme -->
<link href="css/skins/red/red.css" rel="stylesheet" media="screen" class="skin">

<!-- Favicons -->
<link rel="shortcut icon" href="img/icons/favicon.ico">
<link rel="apple-touch-icon" href="img/icons/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/icons/apple-touch-icon-114x114.png">  

<!-- Head Libs -->
<script src="js/modernizr.js"></script>

<!--[if lte IE 9]>
    <script src="http://getbootstrap.com/docs-assets/js/html5shiv.js"></script>
    <script src="js/responsive/respond.js"></script>
<![endif]-->

<!-- styles for IE -->
<!--[if lte IE 8]>
    <link rel="stylesheet" href="css/ie/ie.css" type="text/css" media="screen" />            
<![endif]-->

<!-- Skins Changer-->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>

所以当我打开index.php时 - 一切正常,当about.php - css或js破解时。

例如它看起来像这样:     index.php - http://joxi.ru/EA4nnnYuKeK0mb.png     about.php - http://joxi.ru/5mdNNN9FKEK5A1.png

broswer控制台没有错误

哪里可能出错?

0 个答案:

没有答案