Posted by: siddesigner on: May 15, 2011
Target IE only with CSS – the easy way Using the methods below, you can target IE only with CSS. This is very useful, as many times Internet Explorer and Firefox display pages differently, and it is much easier to write different code for the browsers than to try to use weird hacks to fix [...]
Posted by: siddesigner on: May 15, 2011
IE8 and Below The key to targeting Internet Explorer 8 and below, with a hack, is to append “\9″ to the end of your style. For example: view plaincopy to clipboardprint? body { color: red; /* all browsers, of course */ color : green\9; /* IE8 and below */ } body { color: red; /* all browsers, of course */ color : green\9; /* IE8 and below */ } It’s [...]