I’m needing to use a different stylesheet for IE, and I’m wondering about which stylesheet will take control.
For example, I’ll use this code in the <head>:
<link rel='stylesheet' type='text/css' href='styles/style.css' /> <!--[if IE]><link rel='stylesheet' type='text/css' href='styles/ie.css' /><![endif]-->
Then will I need to use !important everywhere in the IE stylesheet? Or will the second stylesheet be seen as more important by IE? Does the order matter?
Whichever style has the highest specificity will win. If you are providing the same selectors in both stylesheets the latest one will win. Otherwise, from the article I linked above:
Here are the official docs on it.