On Jun 9, 2011, at 9:26 PM, Tee wrote:

> But iOS Safari able to resize (downsize) a webpage to its viewport when no 
> viewport declared. Why is it not the background image? You probably has 
> already noticed, the contents are downsized to fit the viewport 768; 

Oh but Mobile Safari downsized your page all right, to its viewport width of 
980px; but then that downsized page overflows, and cause the gap you noticed. 
Mobile Safari is kind enough to show everything what's on your page, without 
clipping. Luckily, as otherwise some contents maybe inaccessible, due to your 
use of overflow:hidden.

> also for landscape view, the viewport is 1024, and since the container that 
> holds the bg image is 1024 it shouldn't cut off the image, but it does. This 
> is the reason I thought it's a bug.

Wrong, the viewport is still 980px (unless otherwise specified); don't confuse 
it with device width / height.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to