IE specific style sheet
I'm trying to force my html document to load two different CSS style sheets. One for browsers other than IE, and one just for IE. I checked archived threads relating this issue, nothing helped. So i decided to write my own, hopefully this might help me get things right.
My html code (testcss.html) looks like this:
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="ie.css" rel="stylesheet" type="text/css" />
Your text goes here.
My document style.css is very simple, and has two selectors only:
Same goes for IE specific stylesheet (ie.css):
Thing is, I am using FF22.0 and IE 10 for testing. They keep following one or the other style sheet, instead loading separate ones. If I remove one dash from comment, ie.css is being loaded, if comment remains intact, style.css is being loaded in both browsers. This is kinda driving me nuts, so I'd be grateful for any help with this issue.
Thanks in advance!