instudios Posted September 16, 2006 Share Posted September 16, 2006 Greetings everyone! I've been working on the following page for a couple of days now, and I seem to be at stand still at the moment. I have this mysterious gap at the top of my page. I've validated my html and css, and I have the top margin to my body and #DivWrapper set to zero. I'm wrecking my brain trying to figure out where this space/gap is coming from. The url to the page is http://www.netunification.com/demo/Please let me know if you have any suggestions.So far I've only tested the page in Firefox for the mac, but I plan to test it with IE (PC) when I get a chance. Hopefully it'll render correctly in both...Thanks in advance... Quote Link to comment https://forums.phpfreaks.com/topic/20983-unknown-top-margin-on-body-tag/ Share on other sites More sharing options...
AndyB Posted September 16, 2006 Share Posted September 16, 2006 Firefox/PC - the page does not display anything except coloured stripes across the screen!! No visible text. Quote Link to comment https://forums.phpfreaks.com/topic/20983-unknown-top-margin-on-body-tag/#findComment-93067 Share on other sites More sharing options...
wildteen88 Posted September 16, 2006 Share Posted September 16, 2006 What gap are we talking about? Do you mean the blue bit? Or do you emam the gap between the address bar of the browser and your menu?Rather than adding zero margins to the top of body, ad zero margins and padding to the whole of the body, so instead of:[code]body { background-image: url(images/Net_U_bg.png); background-repeat: repeat-x; margin: 0px; padding: 0px;}[/code]IE7 displays the layout fine! Quote Link to comment https://forums.phpfreaks.com/topic/20983-unknown-top-margin-on-body-tag/#findComment-93070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.