IE Conditional comments
Web Development | (0)
When you're a web developer, you always keep running into annoying Internet Explorer bugs, so you need to hack your way around. Now with the IE7 out, a lot of the old CSS hacks don't work anymore, and those that do still work, can't be relied on to work in the future.
IE has a feature, called conditional comments, which could help us. As a hack it's quite useful. IE 7 will support this too, and it even allows you to detect different versions of IE.
Here's an example:
[code lang="xhtml"]
[/code]
[if lte IE 6] means "if less than or equal to IE 6". ...