CSS Hack for Internet Explorer 8

HTML5, CSS3 and JavaScript

The Fine Art of Web Development by Martin Ivanov

Notwithstanding the improvements in the CSS support in Internet Explorer 8, there may be cases when a CSS hack for that particular browser is necessary. Here is one that works in IE8 Standards Compliance Mode:

.classnameOrElement
{
 
color /***/: blue9
}

And another one that will be applied in all IE versions:

.classnameOrElement
{
 color: blue9
}

Categories and Tags
Links

© 2006 - 2023 Martin Ivanov