下面我的浏览器版本选择器没有调用我的css类...它在旧浏览器中不起作用...有人知道whay,或者有类似的代码来帮我解决这个问题?坦克...
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class='no-js'>
<!--<![endif]-->
<head>
<meta charset='utf-8' />
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<meta content='' name='description' />
<meta content='' name='author' />
<title>Datacode</title>
<link href="./stylesheets/globals.css" media="screen" rel="stylesheet"
type="text/css" />
<link href="./stylesheets/typography.css" media="screen" rel="stylesheet"
type="text/css" />
<link href="./stylesheets/grid.css" media="screen" rel="stylesheet" type="text/css" />
<link href="./stylesheets/ui.css" media="screen" rel="stylesheet" type="text/css" />
<link href="./stylesheets/forms.css" media="screen" rel="stylesheet" type="text/css" />
<link href="./stylesheets/style.css" media="screen" rel="stylesheet" type="text/css" />
<script src="./javascripts/jquery-1.7.1.js" type="text/javascript"></script>
<script src="./javascripts/terrific-1.1.1.js" type="text/javascript"></script>
<script src="./javascripts/app.js" type="text/javascript"></script>
<script type='text/javascript'>
//<![CDATA[
/* terrificjs bootstrap */
(function($) {
$(document).ready(function() {
var $page = $('body');
var config = {
dependencyPath: {
plugin: 'javascripts/'
}
};
var application = new Tc.Application($page, config);
application.registerModules();
application.start();
});
})(Tc.$);
//]]>
</script>
</head>
答案 0 :(得分:0)
哪个样式表是IE类?你能通过上面的路径在浏览器中查看样式表吗?