Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    100% Width not working correctly?

    http://kingdomskyhelp.com/Shade/shade.php
    I decided to start a new project, but i have this stupid white space around the left/right/top?
    My mind has gone blank and I cant fix it, help is much appreciated!

    ~Ricky.

  • #2
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    Quote Originally Posted by CookieTornado View Post
    http://kingdomskyhelp.com/Shade/shade.php
    I decided to start a new project, but i have this stupid white space around the left/right/top?
    My mind has gone blank and I cant fix it, help is much appreciated!

    ~Ricky.
    Code:
    body {
        margin: 0; padding: 0;
    }
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • #3
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    834
    Thanks
    10
    Thanked 79 Times in 77 Posts
    Add to very top of CSS:

    Code:
    * { margin: 0; padding: 0; border: 0; }
    1 HTML problem
    ☠ ☠RON☠ ☠


  •  

    Posting Permissions

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