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
![]()

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
![]()
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" />
Is this for phone browsers?
Yes it is![]()
Want to hide these adverts? Register an account for free!