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 3 123 LastLast
Results 1 to 10 of 29

Thread: Quick Help

  1. #1
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default Quick Help

    Hi I need help, just to make my template go to the top of the browser, liek the 0 margin thing .... I need the code for this.

  2. #2
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Css:
    Code:
    html {
    margin: 0, 0, 0, 0;
    }
    HTML:
    HTML Code:
    topmargin="0" bottommargin="0" marginheight="0" marginwidth="0"

  3. #3
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Hey,

    You mean this:

    HTML Code:
    body{
    margin-top: 0px;
    - Dan

  4. #4
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Lol thats what i was meaning in my post but my css is abit rusty in parts

  5. #5
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Hey,

    I didn't even see your post until I had posted rofl. And I couldn't be bothered editing.

    - Dan

  6. #6
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    Ok, Dan, your code, whats the whole code, and do I put it in the head or body?

  7. #7
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Hey,

    Put it into your main.css at the top and then inside your head tags put:

    HTML Code:
    <link rel="stylesheet" href="main.css" type="text/css" />
    - Dan

  8. #8
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    ok i dont got a main .css i got main.php and nav.php and my index.htm ... i had the code before ... lost it though

  9. #9
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Hey,

    Start > All Programs > Accsessories > Notepad

    Type in code

    File > Save As > Type in main.css

    Then... Upload to yourserver

    - Dan

  10. #10
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    1,788
    Tokens
    0

    Latest Awards:

    Default

    so i put this in main.css

    body{
    margin-top: 0px;

Page 1 of 3 123 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
  •