how to set up the size of web page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lilili
Forum Newbie
Posts: 4
Joined: Thu Apr 03, 2008 12:33 am

how to set up the size of web page

Post by lilili »

I am designing a html page for smartphone.
since the screen size of smarthphone is small,
I need to create a small page.
I know how to set the width and hight of some gif.file, tables...
but do not know how to set the size of the whole page.
Can anybody give me some information?
Thanks.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: how to set up the size of web page

Post by Christopher »

You can set the width and height of the body element. They are typically set to 100% so you should not need to set it.
(#10850)
Post Reply