Log In | Register | July 21, 2019

Share
 

HTML and CSS - October 13, 2011

IE 6, IE 7, IE 8, and IE 9 CSS Hacks

Below you will find examples on how to modify your CSS code in order to get things to display properly in each version of Internet Explorer.

CSS Hacks for Internet Explorer 6
* html .class_name {font-size: 10x;}

CSS Hacks for Internet Explorer 7
*:first-child+html .class_name {font-size: 10px;}

CSS Hacks for Internet Explorer 8
@media \0screen { .class_name {font-size: 10px;} }

CSS Hacks for Internet Explorer 9
:root .class_name {font-size: 10px\9;}

Post By: | FavoriteLoadingAdd to favorites

2 Comments

Deepak Kumar
Thursday, October 11, 2012

Thanks help a lot!!!!!

Ajay Kumar Prasad
Saturday, February 2, 2013

much obliged to you, for heli us,,,,,,

Leave a Comment



Need Help? Ask a Question

Ask anything you want from how to questions to debug. We're here to help.

You Must Be Logged In To Post A Question.

Log In or Register