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 ?

429 posts
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Had an item featured on Envato Market
  • Made it to the Authors' Hall of Fame
+8 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]-->
517 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
+6 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 …

194 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
+6 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by