4 posts
  • Sells items exclusively on Envato Market
  • Located in France
  • Has been part of the Envato Community for over 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 ?

460 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Has sold $250,000+ on Envato Market
  • Had an item featured on Envato Market
+9 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]-->
601 posts I love the web!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Won a Most Wanted contest
  • Contributed a free file of the month
+5 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
  • Sells items exclusively on Envato Market
  • Located in France
  • Has been part of the Envato Community for over 2 years
Lostmen
says

Ok thanks !

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

211 posts responsive
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has referred 200+ members
+5 more
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