Archive for June, 2008

Conditional comments and IE

Thursday, June 26th, 2008

This is pretty well worn ground, but I managed to do web development for an embarrassingly long time without discovering it: IE5 introduced special syntax that allows regions of an HTML file to be hidden from all but specified IE browsers. The special syntax and affected HTML may be made invisible to non-IE browsers because some of the syntax is similar to that of the comment (”<!-- ... -->“) tag.
(more…)