I want to specific that the web browsers as chrome, opera, firefox use specific css file and the browsers as IE (from version 7 to 10) using another css files.
How can I to specific this??
Thanks everyone for your help! merry christmas!
You can use IE conditional comments such as this:
<!--[if IE]>
According to the conditional comment this is IE<br />
<![endif]-->
So you could use something like this:
<head>
<link href="styles.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 10]>
<link href="iestyles.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
You can learn more about them here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With