Removing the gap at the top of my page. EEK!

Discussion in 'HTML & Website Design' started by netliving, Jul 29, 2007.

  1. #1
    I can't seem to remove the gap at the top of my site:

    http://www.recapturetraffic.com

    I want the table to be flush with the top of the window like it is at the bottom.

    Any ideas?
     
    netliving, Jul 29, 2007 IP
  2. HuggyCT2

    HuggyCT2 Guest

    Messages:
    222
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just add in your head tags

    
    <style type="text/css">
    body
    {
    margin:0px auto;
    }
    </style>
    
    Code (markup):
    Also that popup was extremely annoying and would make anyone leave your site straight away.
     
    HuggyCT2, Jul 29, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Not only that, but your page has 45 HTML validation errors, no DOCTYPE, and just so you know, your script is not working properly in Opera.
     
    Dan Schulz, Jul 29, 2007 IP
  4. VimF

    VimF Well-Known Member

    Messages:
    307
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    118
    #4
    The gap is created by a script you put on the top of the page, outside the body tag and header tag.
    
    <!-- ExitGrabber.com Code Begins -->
    <script> ... </script>
    <!-- ExitGrabber.com Code Ends -->
    
    Code (markup):
    I suggest to move it elsewhere or wrap a div around it and assign a style="display:none" to the div. Hopefully this will also get rid of the annoying css popup.
     
    VimF, Jul 29, 2007 IP
  5. netliving

    netliving Well-Known Member

    Messages:
    102
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Thanks for the suggestions. I moved it to the bottom.
     
    netliving, Jul 30, 2007 IP