Quantcast
Channel: is there any IE8 only css hack? - Stack Overflow
Browsing latest articles
Browse All 12 View Live

Answer by Sunkhern for is there any IE8 only css hack?

I was looking for a good option for IE10 and below CSS styling (but it would work for IE8 only as well) and I came up with this idea:<!--[if lt IE 10]><div class="column...

View Article



Answer by abluejelly for is there any IE8 only css hack?

So a recent question prompted me to notice a selector set hack for excluding IE 8 only..selector, #excludeIE8::before {} will cause IE 8 to throw out the entire selector set, while 5-7 and 9-11 will...

View Article

Answer by Vel Murugan S for is there any IE8 only css hack?

For IE8 native browser alone:.classname{ *color: green; /* This is for IE8 Native browser alone */}

View Article

Answer by Ravi Chothe for is there any IE8 only css hack?

This will work for Bellow IE8 Versions.lt-ie9 #yourID{your css code}

View Article

Answer by Žiga for is there any IE8 only css hack?

If needed small changes in CSS use \9 it targets IE8 and below (IE6, IE7, IE8).element { color:green \9; }Best way is to use conditional comments in HTML, like this:<!--[if IE...

View Article


Answer by thepeer for is there any IE8 only css hack?

There are various ways to get a class onto the HTML element, identifying which IE version you're contending with: Modernizr, the HTML 5 Boilerplate, etc - or just roll your own. Then you can use that...

View Article

Answer by Paul Sweatte for is there any IE8 only css hack?

Use media queries to separate each browser:/* IE6/7 uses media, */@media, { .dude { color: green; } .gal { color: red; }} /* IE8 uses \0 */@media all\0 { .dude { color: brown; } .gal { color: orange;...

View Article

Answer by John Fisher for is there any IE8 only css hack?

Doing something like this should work for you.<!--[if IE 8]> <div id="IE8"><![endif]--> *Your content* <!--[if IE 8]> </div><![endif]--> Then your CSS can look like...

View Article


Answer by BalusC for is there any IE8 only css hack?

Use \0.color: green\0;I however do recommend conditional comments since you'd like to exclude IE9 as well and it's yet unpredictable whether this hack will affect IE9 as well or not.Regardless, I've...

View Article


Answer by Damien_The_Unbeliever for is there any IE8 only css hack?

Can you not use the hack you've already shown, and then use an IE7 and below hack to override it?

View Article

Answer by Palantir for is there any IE8 only css hack?

Use conditional comments in HTML, like this:<!--[if IE 8]><style>...</style><![endif]-->See here: http://www.quirksmode.org/css/condcom.htmlYou can test for IE versions reliably...

View Article

is there any IE8 only css hack?

For Internet Explorer 8 (IE8) I'd like to use the following CSS:color : green;I would like to apply a hack which only affects IE8, not to IE9, IE6 and 7.

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images