HTML & CSS
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.
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.
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.
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
Oops, missed that js link in there. Sorry for not seeing the real problem.
This topic is now closed. New replies are no longer allowed.