VML Issue in IE6 Strict Mode
-
I am having some issues that I don't understand with VML in IE 6 (also in IE7). I've searched the net for problems between VML and strict mode but haven't been able to come up with anything. The page, listed below, has a div element set to be 800px wide with a border so you can see it and a height of auto. The page SHOULD render a blue Diamond in roughly the center of the div . When the page is rendered in quirks mode (Just add an html comment above the doctype) it works as I expect. When the page is rendered in strict mode (remove any comments from before the doctype), the div collapses and the shape disappears. In some cases of me playing around with the numbers, the shape would fall to 0,0 px and be outside of both the div and group container objects. What am I doing wrong or does VML not work properly in strict mode? The page (as is it will render in quirks mode, delete the html comment before the DOCTYPE to render it in strict mode): Untitled Page