I know this was asked, but I'm still confused.
I'm trying to create a simple page for the iPhone: the logo at the top, the phone number, address and BG, which occupies the entire screen (without repetition).
When I ran a script that printed the width of the screen and the screen table, I got: 320px * 480px.
However, when I created the div from these exact sizes, it is tiny. What gives? Should the box be used so that the entire size of the detected resolution does not occupy the entire screen?
So, if I am developing a page for the iPhone, and I want it to take up the entire screen in Safari (on the iPhone), with what resolution should I design?
I am using an iPhone 3G running iOS 4.0 as my test device.
Thanks for any help.
iphone screen mobile-safari resolution
Ajb
source share