Avoid CSS hacks

Refrain from using CSS hacks as long as you can. If you need to do something to cover up for flaws in Internet Explorer’s rendering, please use conditional comments to only serve the different versions of Internet Explorer specific CSS, as I’ve stated for a long time.

For more information, read Markus Mielke’ post Call to action: The demise of CSS hacks and broken pages.

Posted in CSS |

Leave a Reply

Your email address will not be published. Required fields are marked *