restrict IE8 to get css file
In my site, I have a css file with all the media queries. how can i use a
condition not to use that file if its IE8? i am using html and jquery. IE8
does not support media queries. so i want to restrict IE8 to get that
media-queries.css file. but all other browsers should get it. It can be
jquery or javascript.
the css is included in the head:
<head>
<link rel="stylesheet" type="text/css" href="/templates/css/style.css" />
<!-- dont want this only in IE8 and bellow -->
<link rel="stylesheet" type="text/css"
href="/templates/css/media-queries.css" />
</head>
No comments:
Post a Comment