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 2 FirstFirst 12
Results 11 to 20 of 20

Thread: CSS

  1. #11
    Join Date
    Dec 2006
    Location
    Northamptonshire, England.
    Posts
    1,303
    Tokens
    0

    Latest Awards:

    Default

    try w3schools quite gd.

  2. #12
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by яуαη View Post
    try w3schools quite gd.
    I prefer independent learning.
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  3. #13
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    never ever ever ever use absolute positioning It's bad



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


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

    Latest Awards:

    Default

    Seriously?! Noobs pls

    Make a container and make left and right.

    Code:
    #cont {
    width: 100%;
    overflow: hidden;
    }
    
    #left {
    width: 50%;
    float: left;
    }
    
    #right {
    width: 40%;
    float: right;
    }
    Code:
    <div id="container">
    
    <div id="left">RICHARD OWNS PLS</div>
    <div id="right">TIS TRUE PLS</div>


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

  5. #15
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    Thanks rich.

    +rep to everyone else as well.
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

  6. #16
    ScottDiamond Guest

    Default

    Use containers.

  7. #17
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by RichardKnox View Post
    Seriously?! Noobs pls

    Make a container and make left and right.

    Code:
    #cont {
    width: 100%;
    overflow: hidden;
    }
    
    #left {
    width: 50%;
    float: left;
    }
    
    #right {
    width: 40%;
    float: right;
    }
    Code:
    <div id="container">
    
    <div id="left">RICHARD OWNS PLS</div>
    <div id="right">TIS TRUE PLS</div>
    Code:
    <div id="container">
    
    <div id="left">RICHARD OWNS PLS</div>
    <div id="right">TIS TRUE PLS</div>
    
    </div>
    RICHARD forgot to close his container div.

  8. #18
    Join Date
    Dec 2006
    Location
    Doncaster, UK
    Posts
    4,244
    Tokens
    0

    Latest Awards:

    Default

    He did indeed.

    [:
    A collection of forum users' views on obesity
    Quote Originally Posted by mynameisjake View Post
    sounds good
    Quote Originally Posted by Stephen View Post
    Just google it.
    Quote Originally Posted by jesus View Post
    jesus christ
    Quote Originally Posted by Alexicles. View Post
    It will probably soon go away.

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

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor View Post
    Code:
    <div id="container">
    
    <div id="left">RICHARD OWNS PLS</div>
    <div id="right">TIS TRUE PLS</div>
    
    </div>
    RICHARD forgot to close his container div.
    Im truely sorry. Silly error. I'll go kill myself pls

    Ty Mentor


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

  10. #20
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Well.... for the code above... Floating the right hand side column is completely unessecary, as long as you set the right hand side margin to wider than the left column then it will automatically align itself beside it. So like example.....

    Code:
    #cont {
    width: 100%;
    overflow: hidden;
    }
    
    #left {
    width: 50%;
    float: left;
    }
    
    #right {
    margin: 0 0 0 52%;
    width: 40%;
    }
    So just to sum it up.... The left column is 50% wide, so we set the left margin of the right column to 52% that way it won't run into the left column and will align itself beside it.

    Note: the current columns don't line up beside each other in Maxthon/IE 6.

Page 2 of 2 FirstFirst 12

Posting Permissions

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