CSS hacks for IE

CSS, HTML, tutorial

The best solution I have found so far, to CSS hack IE, it’s clean and it works perfectly:

<!–[if IE 7 ]> <body class=”ie7″> <![endif]–>
<!–[if IE 8 ]> <body class=”ie8″> <![endif]–>
<!–[if IE 9 ]> <body class=”ie9″> <![endif]–>
<!–[if !IE]>–> <body> <!–<![endif]–>

So, let’s use it!