http://www.perlmonks.org?node_id=405555

I was looking into some CSS/HTML related issues today and came across a weird but apparently quite useful trick for working around IE related problems. IE supports something called "html conditional comments", like this:

One variant allows HTML to be embedded that is ONLY seen by IE. IE will magically uncomment the group if the conditional is true. The comment like construction causes non IE browsers to treat the whole thing as a normal comment.

<!--[if IE 5]> <p>This will only show on IE 5.</p> <![endif]-->

The second variant will NOT be rendered on IE browsers (IE will magically remove the block if the expression is true), but WILL be rendered on NON IE browsers:

<![if !IE 5]> <p>This will only show if NOT on IE 5.</p> <![endif]>

The problem obviously is that our square bracket linking mechanisms will b0rk this totally. As I think this could be a really useful way to work around a number of IE related oddities I think its worth seriously considering the changes required to NOT bork it.

Anyway, just thought i should bring it up.

---
demerphq