4 posts
  • Exclusive Author
  • France
  • Has been a member for 1-2 years
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 ?

365 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • 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
  • Has been a member for 3-4 years
+2 more
OrangeIdea says
<!--[if IE]> <style type="text/css"> p {} </style> <![endif]-->

or

<!--[if IE]> <link href="ie.css" rel="stylesheet" type="text/css"> <![endif]-->
434 posts I love the web!
  • Helped protect Envato Marketplaces against copyright violations
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
  • Has been a member for 2-3 years
+1 more
htmgarcia says

<!--[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

4 posts
  • Exclusive Author
  • France
  • Has been a member for 1-2 years
Lostmen says

Ok thanks !

IE sock ^^ I spend 1 hour per day for my IE css …

189 posts responsive
  • Elite Author
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Has been a member for 3-4 years
  • Author had a Free File of the Month
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 8) | !(IE 9) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->

So, you only need add to the style.css:

.ie .ie7 .post {}
.ie .ie8 .post {}

etc.

by
by
by
by
by
by