Luc De Brouwer wrote on 19th May 2011 at 12:04:
I kind of disagree on the cons with the conditional stylesheets solutions.
The performance of the browser due to additional HTTP requests is something you can limit by targeting the specific browser instead of using the 'lte' method. I find that maintainability increases with the different stylesheets because you can keep all CSS 'hacks' clearly separated. Of course you shouldn't need to go apeshit with the amount of needed 'hacks', if that's the case you did a rubbish job setting up the CSS framework etc. Also the solution Stoyan Stefanov suggested ( the empty conditional statement ) works like a charm.
However, this is an excellent write up!
查看更多关于safeCSShacks_html/css_WEB-ITnose的详细内容...