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 5 of 5

Thread: Help Me!

  1. #1
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default Help Me!

    I'm making my new site but I can't get the nav on the left and the content in the centre without it going down one line. Here's the code i'm using:

    Quote Originally Posted by htmlcode
    <HTML>
    <HEAD>
    <STYLE TYPE="text/css">

    body {
    background-color: #5f9ea0;
    }

    .nav {
    background-color: #c0c0c0;
    border: 1px dashed;
    color: #cccccc
    }

    .content {
    background-color: #c0c0c0;
    border: 1px dashed;
    color: #cccccc
    }

    </STYLE>
    </HEAD>
    <TITLE>Title Here</TITLE>
    <div class="nav"><div align="left">
    Links here
    </div></div>
    <center>
    <div class="content"><div align="center">
    Put content

    </CENTER>
    </HTML>
    I can do everything required (I think) except that.


    You don't like me
    Chances are I don't like you.

  2. #2
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:

    Default

    float: left;

  3. #3
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    Thanks


    You don't like me
    Chances are I don't like you.

  4. #4
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    One more thing : i need to float it so its not out at the edge of the page but near the content box. Any ideas?


    You don't like me
    Chances are I don't like you.

  5. #5
    Join Date
    Mar 2006
    Location
    Manchester UK
    Posts
    195
    Tokens
    0

    Default

    I'm guessing by your description that you mean.

    HTML Code:
    padding-left: 5px;
    Or perhaps:

    HTML Code:
    margin: 5px 5px 5px 5px;
    Last edited by Encryptions!; 22-03-2006 at 04:42 PM.

Posting Permissions

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