www.webdeveloper.com
Results 1 to 7 of 7

Thread: Gap at the top of web pages

  1. #1
    Join Date
    Jul 2009
    Posts
    43

    Gap at the top of web pages

    Hey for some reason there is a gap at the top of my website in google chrome and perhaps in other browsers too, although I have no idea why, the website is http://www.cherrietestingwebsite.com Any help appreciated, thank you.

  2. #2
    Join Date
    Apr 2012
    Posts
    34
    Double check and make sure that there wrapper is set to:

    HTML Code:
    #wrapper {
         margin: 0 auto;
    }
    I know that has messed me up a few times

  3. #3
    Join Date
    Dec 2011
    Posts
    68
    yes use margin 0 auto ;

  4. #4
    Join Date
    Nov 2011
    Location
    Nigeria
    Posts
    28
    Code:
    html,body{
    margin:0 0;
    padding:0 0;
    }

  5. #5
    Join Date
    Nov 2002
    Posts
    2,632
    Quote Originally Posted by ibixxon View Post
    Code:
    html,body{
    margin:0 0;
    padding:0 0;
    }
    Should be:
    Code:
    html, body{
    margin:0;
    padding:0;
    }

  6. #6
    Join Date
    Nov 2011
    Location
    Nigeria
    Posts
    28
    thanx for the correction @spufi

  7. #7
    Join Date
    Jul 2009
    Posts
    43
    Thanks guys much appreciated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles