Lostmen
says
It’s possible to do a CSS special for IE ?
I have some problems with my css, so I did two css :
style.css ie.css
It’s not a problem for the validation ?
359 posts
- Microlancer Beta Tester
- Sold between 250 000 and 1 000 000 dollars
- Item was Featured
- Author was Featured
- Bought between 50 and 99 items
- Referred between 200 and 499 users
- Author had a Free File of the Month
- Repeatedly Helped protect Envato Marketplaces against copyright violations
OrangeIdea
says
<!--[if IE]>
<style type="text/css">
p {}
</style>
<![endif]-->
or
<!--[if IE]>
<link href="ie.css" rel="stylesheet" type="text/css">
<![endif]-->
htmgarcia
says
OrangeIdea said
<!--[if IE]> <style type="text/css"> p {} </style> <![endif]-->
or
<!--[if IE]> <link href="ie.css" rel="stylesheet" type="text/css"> <![endif]-->
+1 The best way to fix a bad software performance
Lostmen
says
Ok thanks !
IE sock ^^ I spend 1 hour per day for my IE css …
ZERGE
says
Or something like this, for different versions:
<!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 9]> <html class="ie ie9" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) | !(IE| !(IE 9) ]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
So, you only need add to the style.css:
.ie .ie7 .post {}
.ie .ie8 .post {}
etc.

| !(IE 9) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->