Please note that this is a em based. Anyway, when I put position: relative on #header div { } then it’s fixed in IE7, but when I resize text (whole purpose of em based layout, yes?) - the background gets clipped again. However this time, when I highlight the “Sample Page” text on the left with cursor, it becomes visible again.
Anyway to make the background display properly?
And there is not much problem with IE6, for some reason the transparent png fix script solves the background clipping (even when text is resized).
I feel really silly about this oversight, I completely forgot about the div inside #header not having layout. (learned about the whole concept of hasLayout just few weeks ago).
I’m using view > Text Size and I really feel that Microsoft should have implemented the zoom feature in another shortcut (i.e. not CTRL + Scroll) - I’m almost sure I’m not the only one who feel that way :P.
when I gave the div “hasLayout” through height: 100%;
Huh, interesting. I’ve never thought to do that: you cannot actually set height on a child whose parent doesn’t have an explicit height, so in practice there is no height set on #header div… but stating it anyway gives it Layout?