Javascript 如何加载特定于浏览器的外部css文件?

Javascript 如何加载特定于浏览器的外部css文件?,javascript,css,internet-explorer,Javascript,Css,Internet Explorer,我需要在页眉中添加对外部css文件的引用。 但它应该只为IE浏览器添加 这可能吗 <head> <link type="text/css" rel="stylesheet" href="/themes/jfile.css" /> </head> 简单 <!--[if IE 6]> <link type="text/css" rel="stylesheet" href="/themes/jfile.css" /> <!

我需要在页眉中添加对外部css文件的引用。 但它应该只为IE浏览器添加

这可能吗

<head>
<link type="text/css" rel="stylesheet" href="/themes/jfile.css" />

</head>

简单

<!--[if IE 6]>
    <link type="text/css" rel="stylesheet" href="/themes/jfile.css" />
<![endif]-->



这个问题已经被问了100次,请在将另一个问题添加到重复堆之前搜索您的问题,上面有一个链接添加到其中一个问题
<!--[if lt IE 9]>
    According to the conditional comment this is IE lower than 9<br />
<![endif]--> 
<!--[if IE 6]>
    <link rel="stylesheet" href='/Common/Css/ie6.css' type="text/css" />
<![endif]-->
<!--[if IE 7]>
    <link rel="stylesheet" href='/Common/Css/ie7.css' type="text/css" />
<![endif]-->
<!--[if IE 8]>
    <link rel="stylesheet" href='/Common/Css/ie8.css' type="text/css" />
<![endif]-->