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 4 of 4
  1. #1
    Join Date
    Feb 2005
    Location
    Sheffield
    Posts
    2,288
    Tokens
    1,686

    Latest Awards:

    Default [PRETTY URGENT] +REP

    Hey, is there any way of completely limiting the width that a page can be?

    I have

    body{
    max-width: 640px;
    }

    but I still get this on larger screens.

    I added the peachy colour to show you where I want the layout to stop. So confused :S


  2. #2
    Join Date
    Feb 2005
    Location
    Sheffield
    Posts
    2,288
    Tokens
    1,686

    Latest Awards:

    Default

    Sorry for the double post but I have solved it myself! I had checked Google for about an hour before posting but with no luck. Carried on searching though and found out how. For all those that do not know and wish to...

    Put this in the head tag.

    HTML Code:
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />

  3. #3
    Join Date
    Dec 2008
    Location
    Victoria, Australia
    Posts
    462
    Tokens
    2,114
    Habbo
    Fiendly

    Latest Awards:

    Default

    Is this for phone browsers?

  4. #4
    Join Date
    Feb 2005
    Location
    Sheffield
    Posts
    2,288
    Tokens
    1,686

    Latest Awards:

    Default

    Yes it is

Posting Permissions

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