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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: how do i...

  1. #1
    Join Date
    Feb 2005
    Posts
    599
    Tokens
    25

    Default how do i...

    i know how to code a layout but how do i get the layout to touch the top and bottem of the page so theres no gaps.

    +rep to helpers

  2. #2
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default

    <style>
    body {margin-top:0;}
    </style>

    in the head.
    that puts it at the top


  3. #3
    Join Date
    Feb 2005
    Posts
    599
    Tokens
    25

    Default

    can you change it to like left and stuff to so it sticks to the left?

    +rep

  4. #4
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default

    <style>
    body {margin-top:0;margin-left:0;margin-right:0;margin-bottom:0;}
    </style>


  5. #5
    Join Date
    Feb 2005
    Posts
    599
    Tokens
    25

    Default

    THXSS

    wud rep u agan but cnt

  6. #6
    Join Date
    Sep 2006
    Location
    United Kingdom
    Posts
    667
    Tokens
    0

    Default

    HTML GEEK +rep i dident know that eaither lol i do now

  7. #7
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default

    it's not HTML it's CSS
    LOL


  8. #8
    Join Date
    Sep 2006
    Location
    United Kingdom
    Posts
    667
    Tokens
    0

    Default

    Lol ermm I knew that.

  9. #9
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    And it's 0px not 0.

    Yes most browsers assume it's px, but not all.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  10. #10
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default

    Quote Originally Posted by Heinous View Post
    And it's 0px not 0.

    Yes most browsers assume it's px, but not all.
    No your wrong, for it to be valid css you don't.
    http://jigsaw.w3.org/css-validator/


Page 1 of 2 12 LastLast

Posting Permissions

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