I'm just wondering what everyones views are on IE conditional comments. As everyone should be aware by now, all versions of Microsoft Internet Explorer (IE) are riddled with a multitude of bugs which various hacks have been developed to correct for.
But in recent times most web design experts have been recommending dispensing with these hacks in favour of IE conditional comments which still allow your pages to validate, despite feeding different CSS and/or HTML to specific versions of IE.
However, the more I design websites, the less I find the need to use this technique to make my sites work cross browser. Lately I have been finding that just a few minor modifications to the code (but still W3C valid) I can make most designs work fine without the use of IE conditional comments.
So how do the rest of you feel about this? Do you still use old school style hacks? Or do you use conditional comments? Or do you find that neither are usually necessary?
Here are some examples of IE conditional comments:
Code:
<!--[if IE 6]>
This code will be displayed in IE6 only
<![endif]-->
Code:
<!--[if gte IE 6]>
This code will be displayed in IE6 or higher only
<![endif]-->