简体   繁体   中英

if browser version selector not working

my browser version selector below is not calling my css class... and it is not working in the older browsers... someone knows whay, or have a similar code to help me to solve this ? tanks...

<!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>

Which stylesheet are the IE classes in? Can you view the stylesheet in your browser via the paths above?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM