Log in

View Full Version : Gap Between Header and Main Content Area



brayd
04-08-2007, 05:35 PM
I have a small gap between the header and main content area of my website. This gap only appears when using Firefox, Opera and Netscape (diplays fine in Internet Explorer). I want the the top navigation bar to be flush with the header without any gap. How do I get rid of the gap?

To view the problem visit my website at http://www.gositelive.com/

To view my css go to http://www.gositelive.com/css/default.css

mburt
04-08-2007, 05:55 PM
I've looked at the CSS, and cannot find any problems.
The only difference I see is the way the different browsers render the CSS code.
Example:
Firefox, Opera and Netscape apply margins and padding to the total width and height of the object. Internet explorer doesn't.

I've looked in your code, and you've used margin:0, padding:0 in every case possible.

Sometimes these gaps are out of your control.