Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default CSS Header help.


    See, I don't wanna any of the bg showing where I have marked the red parts.

    Anybody got any ideas?
    I've also tried stretching the height+width.
    All GOOD answers will be repped+.

    Edit;
    CSS Style code if needed;
    Code:
    body  {
    background-color:#36393D;
        font-size: 11px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
    
    }
    #header {
    width: 1024px;
    background: #FFFF88;
    height: 130px;
    margin-bottom: 20px;
    }
    Last edited by Zokoli; 20-09-2009 at 06:57 AM.



  2. #2
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Add the following to your body CSS tag.
    Code:
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
    Regards. Tom.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  3. #3
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default

    Thanks Tom!
    It worked!
    +rep if possible.



  4. #4
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    No problemo.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  5. #5
    Join Date
    Jul 2008
    Location
    Devon
    Posts
    290
    Tokens
    0

    Default

    In future, I'd suggest adding

    Code:
    * {margin: 0; padding: 0;}
    into your CSS document.

  6. #6
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by emotional View Post
    In future, I'd suggest adding

    Code:
    * {margin: 0; padding: 0;}
    into your CSS document.
    Using the wildcard css is stupid. Especially for margin and padding which would ruin the margin and padding on list items and others. Just pop it into the body tag if you want it gone from the body.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  7. #7
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    Using the wildcard css is stupid. Especially for margin and padding which would ruin the margin and padding on list items and others. Just pop it into the body tag if you want it gone from the body.
    What about if you want your body as margin:auto but you want EVERYTHING else to have a 0px margin?

  8. #8
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by BoyBetterKnow View Post
    What about if you want your body as margin:auto but you want EVERYTHING else to have a 0px margin?
    Then you would use that, but the thread starter didn't want it.

Posting Permissions

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