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 7 of 7
  1. #1
    Join Date
    Feb 2009
    Posts
    667
    Tokens
    0

    Default i need some more halp.

    Code:
    <!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>Zokoli ~ Ah yes!</title>
    <style type="text/css">
    <!--
    body,td,th {
        font-family: Verdana;
        font-size: 11px;
        font-weight:bold;
        color: #000;
    }
    body {
        background-image: url();
        background-repeat: no-repeat;
        background-color: #FFF;
    }
    #header-wrap {
        width: 100%;
        height: 65px;
        background-color: #3F4C6B;
    }
    #header-wrapper {
        width: 100%;
        height: 100px
        display: block;
        margin: 0 auto;
    }
    .header {
        float: right;
        margin-top: 4px;
        height: 60px;
        width: 220px;
        background-image: url(zokoli.PNG);
        background-repeat: no-repeat;
        display: block;
    }
    #wrap-1 {
        /*margin-top: 5px;*/
        background-color: #4096FF;
        width: 100%
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #wrap-2 {
        /*margin-top: 5px;*/
        background-color: #CDEB8B;
        width: 100%
        padding-top: 30px;
        padding-bottom: 30px;
    
        
    }
    
    #wrapper-2 {
        width: 100%;
        height: 100px
        display: block;
        margin: auto;
        
    }
    
    .nav-text {
        font-family:Verdana;
        font-size:10px;
        color: #36393D;
    }
    -->
    </style></head>
    
    <body>
    <div id="wrap-2">
    <div id="wrapper-2">
    
    <div id="header-wrap">
      <div id="header-wrapper">
     <span class="header"></span>
    <div id="wrap-1"></div>
    <span class="nav-text">I want this text in the green :[</span>
    
     </body>
    </html>
    Put this code into a HTML file, and have a look.
    I want this;
    Code:
    <span class="nav-text">I want this text in the green :[</span>
    In the green zone (see in the HTML file).

    thanks,
    zokoli.



  2. #2
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    One thing is that you have missed out a lot of ";" on your CSS code.

    Code:
    <!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>Zokoli ~ Ah yes!</title>
    <style type="text/css">
    <!--
    body,td,th {
        font-family: Verdana;
        font-size: 11px;
        font-weight:bold;
        color: #000;
    }
    body {
        background-image: url();
        background-repeat: no-repeat;
        background-color: #FFF;
    }
    #header-wrap {
        width: 100%;
        height: 65px;
        background-color: #3F4C6B;
    }
    #header-wrapper {
        width: 100%;
        height: 100px;
        display: block;
        margin: 0 auto;
    }
    .header {
        float: right;
        margin-top: 4px;
        height: 60px;
        width: 220px;
        background-image: url(zokoli.PNG);
        background-repeat: no-repeat;
        display: block;
    }
    #wrap-1 {
        /*margin-top: 5px;*/
        background-color: #4096FF;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #wrap-2 {
        /*margin-top: 5px;*/
        background-color: #CDEB8B;
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
    
        
    }
    
    #wrapper-2 {
        width: 100%;
        height: 100px;
        display: block;
        margin: auto;
        
    }
    
    .nav-text {
        font-family:Verdana;
        font-size:10px;
        color: #36393D;
    }
    -->
    </style></head>
    
    <body>
    <div id="wrap-2">
    <div id="wrapper-2">
    
    <div id="header-wrap">
      <div id="header-wrapper">
     <span class="header"></span>
    <div id="wrap-1">
    </div>
    </div>
    <span class="nav-text">I want this text in the green :[</span>
    </div>
     </body>
    </html>
    seems to place it in the green, unsure if that's what you are after.
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  3. #3
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    jamesy beat me to it :S i guess i shouldnt of left it on post advance for so long..
    Last edited by Colin-Roberts; 22-07-2009 at 04:22 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


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

    Default

    +rep to both.

    Also, if it is possible could you show me what you did to change it?



  5. #5
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    You had missed out several closing </div> tags. We just added those in, fixed the closing ;'s in the css and placed the <span>'s below the other divs while still remaining the in green one.
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

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

    Default

    Quote Originally Posted by Jamesy View Post
    You had missed out several closing </div> tags. We just added those in, fixed the closing ;'s in the css and placed the <span>'s below the other divs while still remaining the in green one.
    Thank you James, I would +rep again if I could.

    Edit;
    Just tested the code, it gives another green bar at the top of the layout?
    It's suppose to be the light blue at the top...
    Test your self!
    Last edited by Zokoli; 22-07-2009 at 04:46 PM.



  7. #7
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Quote Originally Posted by Zokoli View Post
    Thank you James, I would +rep again if I could.

    Edit;
    Just tested the code, it gives another green bar at the top of the layout?
    It's suppose to be the light blue at the top...
    Test your self!
    ensure the hex code for the green bar color is the correct one

Posting Permissions

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