Best Answer Simon_P , 08 February 2013 - 08:30 PM
Ok heres what i suggest.
you have two choices.
- You use the browser css plugin, this changes the body classes on-the-fly. PHP detects the browser type and adds a body class so you can use it with CSS.
This is the cleanest method as there is no extra code added into the head of the page and you just use the special classes: ie ie8 ie9 ie10 etc etc.
BUT you cannot use this tool with static page caching as I already explained, everyone will see the first stored page, so if Joe Soap views the page in ie7 then
everyone after that will have the ie7 body class applied until the cache expires.
- Leave the cache on and use the conditional css method I linked to before. Now everyone will be served the same page code and same body classes but only
Internet Explorer will bother to parse the conditionals, this method will work but it looks messy in the HEAD of the page with all that extra code.