oikram — 2011-11-27T05:00:24-05:00 — #1
By taking the following url into consideration, can anyone tell me why does the header element seems to disappear when viewing this in IE7 and IE8 ?
Thanks in advance.
ralphm — 2011-11-27T06:40:51-05:00 — #2
Because there's no such element as <header>. Well, not as far as IE is concerned. Other browsers will accept an unknown element and make it display: inline (which is why you had to set it to display: block) but IE won't display an element is doesn't recognize.
oikram — 2011-11-27T06:44:42-05:00 — #3
Without the body tag explicitly declared. IE 8 and older, will add <header> inside head.
How did I forgot the body tag is yet to be discovered. :s
thanks ralph.m. (only now I've seen your reply), yes I had a .js library there, and the appropriate display:block; declaration.
paulob — 2011-11-27T06:48:35-05:00 — #4
It doesn't seem to vanish for me? It looks much the same as Firefox apart from the font sizes.
Ah ok you must have just added that code to make it work
ralphm — 2011-11-27T06:49:41-05:00 — #5
Oops, missed that js link in there. Sorry for not seeing the real problem.