Caitlin-havener Posted July 24, 2011 Share Posted July 24, 2011 How do I get rid of some css if the user is viewing page in IE version 8 or less? See my page: havener.meI do not want the background-image of the body or the box shadow of div.rounded if viewing in IE lte 8 Link to comment Share on other sites More sharing options...
Fmdpa Posted July 24, 2011 Share Posted July 24, 2011 You could just override them with a stylesheet targeting IE8 and below with a conditional comment: <!--[if lte IE 8]> <style> body { background-image:none; } </style><![endif]--> Don't worry about getting rid of CSS3 properties for IE8 and below. It won't recognize most of CSS3 anyway, so there's nothing to eliminate. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.