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 17 of 17
  1. #11
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    o.0

    With your orignal code, just switch wrappers css to..
    Code:
    #wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 918px;
    }
    You all missed the error, the margins were set fine, its the width that was the problem. If the width has no unit specifed it'll generally just get ignored. By adding px to it, everything should work as expected.

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

    Latest Awards:

    Default

    o.0

    With your orignal code, just switch wrappers css to..
    Code:
    #wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 918px;
    }
    You all missed the error, the margins were set fine, its the width that was the problem. If the width has no unit specifed it'll generally just get ignored. By adding px to it, everything should work as expected.

  3. #13
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Quote Originally Posted by Mentor View Post
    You all missed the error, the margins were set fine, its the width that was the problem. If the width has no unit specifed it'll generally just get ignored. By adding px to it, everything should work as expected.
    I guess you didn't read mine... the unit is clearly stated although its not to his specific measurement as I thought he would have the intelligence to change it where necessary.

  4. #14
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by Source View Post
    I guess you didn't read mine... the unit is clearly stated although its not to his specific measurement as I thought he would have the intelligence to change it where necessary.
    Yea, but for unexplained reasons you added a pointless extra div within the container. Additionally you made it more than pointless by floating the inner div, which would cause any content added inside to not extend the container as would likely be wanted "/ Hence the need for a hight that only goes to make the layout even less flexible "/

  5. #15
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    The extra div was to show some example content. All my layouts seem to expand fine, its my coding style to use more floats as it naturally works better in older browsers, without much fixing.

    Its an argument that's not worth having on a habbo forum.

  6. #16
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by Source View Post
    The extra div was to show some example content. All my layouts seem to expand fine, its my coding style to use more floats as it naturally works better in older browsers, without much fixing.

    Its an argument that's not worth having on a habbo forum.
    o.0 urmm what?
    Nether provides any advantage to rendering in any modern browser what so ever "/ Go back to when it would and the main issue to cope with would be the browser version pre-dating css altogether.

  7. #17
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Its not a matter I'm argueing, I am just saying that in my past experience the way I currently do things requires less fixing in IE 5.5 and 6 etc...

    I havn't denied anything of what you have said, neither way is wrong. I don't get why you have suddenly developed a defensive stance against me?

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
  •