|The stupid question is the question not asked|
Should we change linking so that conditional comments for IE are not destroyed?by demerphq (Chancellor)
|on Nov 05, 2004 at 17:11 UTC||Need Help??|
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.
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:
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.