OffsetHeight for dynamically created with document.write is wrong in MSIE 7

This bug is INVALID since the generated content replaces current page and the new content being edited is triggered into backward-compatible rendering mode ("quirks" mode) and not into standards compliant rendering mode. In other words, the CSS box model applying to the created box will be different. Sorry for that error.