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 11
  1. #1
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default What wrong with this code?

    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
    background: url(images/background1.PNG) ;
    {
    
    top1 {
    background: url(images/top1.PNG);
    width: 905px;
    height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right 10px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. 
    </marquee></div>
    
    </body>
    
    </html>
    For some reason, "Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! ." Comes up as default; font, size and colour. Even though it's set to be Verdana, size 12 and white. Also the image doesn't show up, why?


    ++rep
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  2. #2
    Join Date
    Oct 2005
    Location
    Corby
    Posts
    5,512
    Tokens
    2,675
    Habbo
    cabbage (origins)

    Latest Awards:

    Default

    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
    background: url(images/background1.PNG) ;
    {
    
    .top1 {
    background: url(images/top1.PNG);
    width: 905px;
    height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right 10px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. 
    </marquee></div>
    
    </body>
    
    </html>
    no

  3. #3
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default

    Quote Originally Posted by georgelol View Post
    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
    background: url(images/background1.PNG) ;
    {
    
    .top1 {
    background: url(images/top1.PNG);
    width: 905px;
    height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right 10px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. 
    </marquee></div>
    
    </body>
    
    </html>
    sTILL NOT WORKING
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  4. #4
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    With ID's you have it "#top1"
    With Class's you have it ".top1".

    You had it as just "top1".

    Since your using ID's, this should work:
    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
    background: url(images/background1.PNG) ;
    {
    
    #top1 {
    background: url(images/top1.PNG);
    width: 905px;
    height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right 10px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. 
    </marquee></div>
    
    </body>
    
    </html>
    Last edited by Moh; 27-05-2008 at 02:39 PM.

  5. #5
    Join Date
    Oct 2005
    Location
    Corby
    Posts
    5,512
    Tokens
    2,675
    Habbo
    cabbage (origins)

    Latest Awards:

    Default

    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
    background: url(images/background1.PNG) ;
    }
    
    .top1 {
    background: url(images/top1.PNG);
    width: 905px;
    height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right 10px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. 
    </marquee></div>
    
    </body>
    
    </html>
    edit: doesnt work LOL
    Last edited by Swearwolf; 27-05-2008 at 02:42 PM.
    no

  6. #6
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default

    Quote Originally Posted by Jack120 View Post
    With ID's you have it "#top1"
    With Class's you have it ".top1".

    You had it as just "top1".

    Since your using ID's, this should work:
    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
    background: url(images/background1.PNG) ;
    {
    
    #top1 {
    background: url(images/top1.PNG);
    width: 905px;
    height: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right 10px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. 
    </marquee></div>
    
    </body>
    
    </html>
    Still not working, how do i do it with classes?
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  7. #7
    Join Date
    Oct 2005
    Location
    Corby
    Posts
    5,512
    Tokens
    2,675
    Habbo
    cabbage (origins)

    Latest Awards:

    Default

    HTML Code:
    body {
    background: url(images/background1.PNG) ;
    {
    
    
    ^ that should be other way round, }
    no

  8. #8
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Found your problem

    Your body was like this:
    body {
    background: url(images/background1.PNG);
    {

    Should be like this:
    body {
    background: url(images/background1.PNG);
    }

    Try this one
    HTML Code:
    <html>
    
    <head>
    
    <style type="text/css">
    
    body {
        background: url(images/background1.PNG);
    }
    
    #top1 {
        background: url(images/top1.PNG);
        width: 905px;
        height: 21px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 20px;
        margin-right 10px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #FFFFFF;
    }
    
    </style>
    
    </head>
    
    <body>
    
    <div id="top1"><marquee>Hey there, welcome to the <b>BRAND NEW</b> HABBOFURY.com, Sign into our brand new UserSystem Now! :D. </marquee></div>
    
    </body>
    
    </html>

  9. #9
    Join Date
    Jun 2007
    Posts
    1,757
    Tokens
    105

    Latest Awards:

    Default

    Quote Originally Posted by georgelol View Post
    HTML Code:
    body {
    background: url(images/background1.PNG) ;
    {
    
    
    ^ that should be other way round, }
    The background was fine, it's the top1 and text thats the prob.
    Get back imma let my gat go,
    got a itchy finger... imma leave a fat hole.
    - Giggs :: Ruthless Freestyle

    I owe rep to - .:Jack120:. HabbDance

  10. #10
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by Gangster View Post
    The background was fine, it's the top1 and text thats the prob.
    Yes, but that problem was stopping the page from reading top1.

    For CSS, I recommend Dreamweaver. It will highlight any errors for you
    Last edited by Moh; 27-05-2008 at 02:49 PM.

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
  •