Results 1 to 2 of 2

Thread: Gap Between Header and Main Content Area

  1. #1
    Join Date
    Mar 2007
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Gap Between Header and Main Content Area

    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

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    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.
    - Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •