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 16 of 16
  1. #11
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    Code:
    #container {
    width: [designwidth]px;
    margin: auto;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    }

  2. #12
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    1,544

    Latest Awards:

    Default

    Quote Originally Posted by RYANNNNN View Post
    Code:
    #container {
    width: [designwidth]px;
    margin: auto;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    }
    What would be the point in having border-left and border-right if there the same?

  3. #13
    Join Date
    Jul 2007
    Location
    Scotland
    Posts
    529
    Tokens
    0

    Default

    Cause he probably wouldn't want top and bottom borders. Thank **** there are some people (Ryan and Tom) that could actually work that out.

  4. #14
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    152
    Tokens
    0

    Default

    <center this f'in image now><border="100000000000"></center gone>

  5. #15
    Join Date
    Dec 2006
    Posts
    521
    Tokens
    0

    Default

    Add a border to something:

    Code:
    #id {border: 1px solid #ffffff} /* Adds a 1px SOLID aka a line black border */
    Centering:

    Code:
    body {text-align:center}
    
    #thingtocenter {margin:auto} /* Works out it has to be centered as body text align is center hence is figures out the margins :) */
    Another way to centering

    float left and margin-left: - 50% of width

    So for example our box is:

    Code:
    #box {float:left;width:500px;margin-left:-250px}

  6. #16
    Join Date
    Apr 2007
    Location
    england
    Posts
    536
    Tokens
    0

    Default

    I've used redtom's way. Thanks for everyone who helped!


    Selling DJ/Habbo layout, more info here.


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
  •