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 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    You don't need anything in the body tags as long as you use the code we provided. Post a link?

  2. #12
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    I don't have it online yet.

    I already had this in (hence there's a background in every browser except IE):

    body {padding: 0; margin: 9px; text-align:center; background: url("images/bg_sky_trees.gif") repeat-x;}

    Btw can you have repeat values X and Y together?

  3. #13
    Join Date
    Aug 2008
    Posts
    206
    Tokens
    0

    Default

    hmm
    this is a wild stab in the dark as i dont use CSS but...

    Code:
    <body>
    <div id="body"></div>
    </body>
    Like I said, real small chance of it working lol...

  4. #14
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by UniqueHabbo View Post
    hmm
    this is a wild stab in the dark as i dont use CSS but...

    Code:
    <body>
    <div id="body"></div>
    </body>
    Like I said, real small chance of it working lol...
    I assume I put that between the body tags already there? Nope didn't work .

  5. #15
    Join Date
    Aug 2008
    Posts
    206
    Tokens
    0

    Default

    Quote Originally Posted by Robald View Post
    I assume I put that between the body tags already there? Nope didn't work .
    sorry then

  6. #16
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by UniqueHabbo View Post
    sorry then
    Thanks for trying .

    IE always has some stupid thing that it does for no reason at all.

    One last chance, I'll post the whole thing like BOX! said before just in case there's anything wrong with it.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Robald.net</title>
    <style type="text/css">

    body {padding: 0; margin: 9px; text-align:center; background: url("images/bg_sky_trees.gif") repeat-x;}

    div#container {margin: 0 auto; width: 700px; text-aligneft;}
    div#banner {width: 171px; height: 443px; margin-bottom: auto; float: left; background: url("images/banner.gif");}
    div#nav_top {width: 35px; height: 60px; margin-right: auto; float: left; background: url("images/nav_top.gif");}
    div#main_top {width: 493px; height: 60px; margin-right: auto; float: left; background: url("images/main_top.gif");}
    div#nav_1 {width: 35px; height: 71px; margin-right: auto; float: left; background: url("images/nav_1.gif");}
    div#main_middle {width: 493px; height: 355px; margin-right: 1px; float: right; background: url("images/main_middle.gif");}
    div#nav_2 {width: 35px; height: 71px; margin-right: auto; float: left; background: url("images/nav_2.gif");}
    div#nav_3 {width: 35px; height: 71px; margin-right: auto; float: left; background: url("images/nav_3.gif");}
    div#nav_4 {width: 35px; height: 71px; margin-right: auto; float: left; background: url("images/nav_4.gif");}
    div#nav_5 {width: 35px; height: 76px; margin-right: auto; float: left; background: url("images/nav_5.gif");}
    div#main_bottom {width: 493px; height: 28px; margin-right: 1px; float: right; background: url("images/main_bottom.gif");}
    div#nav_bottom {width: 35px; height: 23px; margin-right: auto; float: left; background: url("images/nav_bottom.gif");}
    div#blank {cleareft;}


    div#container_2 {margin: 0 auto; width: 700px; text-aligneft;}
    div#spacer_1 {width: 700px; height: 15px; margin-right: auto; background: url("images/spacer_1.gif");}
    div#headlines_top {width: 514px; height: 39px; margin-right: auto; float: left; background: url("images/headlines_top.gif");}
    div#radio_top {width: 171px; height: 39px; margin-right: auto; float: right; background: url("images/radio_top.gif");}
    div#headlines_bottom {width: 514px; height: 90px; margin-right: auto; float: left; background: url("images/headlines_bottom.gif");}
    div#spacer_2 {width: 15px; height: 114px; margin-right: auto; float: left; background: url("images/spacer_2.gif");}
    div#radio_bottom {width: 171px; height: 90px; margin-right: auto; float: right; background: url("images/radio_bottom.gif");}

    </style>
    </head>

    <body>


    <div id="container">
    <div id="banner"></div>
    <div id="nav_top"></div>
    <div id="main_top"></div>
    <div id="nav_1"></div>
    <div id="main_middle"></div>
    <div id="nav_2"></div>
    <div id="nav_3"></div>
    <div id="nav_4"></div>
    <div id="nav_5"></div>
    <div id="main_bottom"></div>
    <div id="nav_bottom"></div>
    <div id="blank"></div>
    </div>

    <div id="container_2">
    <div id="spacer_1"></div>
    <div id="headlines_top"></div>
    <div id="radio_top"></div>
    <div id="headlines_bottom"></div>
    <div id="spacer_2"></div>
    <div id="radio_bottom"></div>
    </div>



    </body>
    </html>

  7. #17
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    Your CSS:
    Code:
    body {padding: 0; margin: 9px; text-align:center; background: url("images/bg_sky_trees.gif") repeat-x;}
    Proper CSS:
    Code:
    body {padding: 0; margin: 9px; text-align:center; background: url(images/bg_sky_trees.gif) repeat-x;}
    You don't need quotations.

  8. #18
    Join Date
    Oct 2008
    Location
    New York
    Posts
    308
    Tokens
    0

    Default

    BOX! Beat me to it this time. Also you should place your css in another file as an external style sheet.
    ~ PixelPoco.com Co-Founder
    ~ Freelance Web developer.
    ~ Currently: Unavailable for work.



    Quote Originally Posted by Favourtism View Post
    i facebooked ur mum
    Lulz

  9. #19
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    I tried canging the background image but it still didn't work, then I tried an animated one I have (the rain one on Habbo Homes) and that works!!

    Quote Originally Posted by BOX! View Post
    Your CSS:
    Code:
    body {padding: 0; margin: 9px; text-align:center; background: url("images/bg_sky_trees.gif") repeat-x;}
    Proper CSS:
    Code:
    body {padding: 0; margin: 9px; text-align:center; background: url(images/bg_sky_trees.gif) repeat-x;}
    You don't need quotations.
    That made no difference . Thanks for trying, I'll just stick with the rain background for now .

    Edit: Oh I found another that works. It seems to depend solely on the image (even though they're all .gifs) :S

    In fact, the only two that won't work are the trees/sky one and the forrest/field one.
    Last edited by Black_Apalachi; 11-11-2008 at 05:06 AM.

  10. #20
    Join Date
    Oct 2008
    Location
    New York
    Posts
    308
    Tokens
    0

    Default

    Oh alright. Well you can go on http://w3schools.com and htmldog.com and html.net for some good coding tutorials that can help you. =]
    ~ PixelPoco.com Co-Founder
    ~ Freelance Web developer.
    ~ Currently: Unavailable for work.



    Quote Originally Posted by Favourtism View Post
    i facebooked ur mum
    Lulz

Page 2 of 3 FirstFirst 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
  •