PDA

View Full Version : Portait/landscape scale



Michou
3 Aug 2010, 1:27 AM
Hi

I don't know how to have the same resolution in portrait and in landscape because now when you are in landscape mode the font seems bigger and i would prefer to use the larger width to have longer text.

Sorry for my english
Thanks

Rohall
3 Aug 2010, 6:51 AM
Try adding the following code inbetween the <head> </head> tags of your index file.



<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />

Michou
3 Aug 2010, 7:14 AM
Thank you Rohall but it doesn't work (i test on iPhone 3GS iOS4.0.1).
I also try :

<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;" />

Michou
16 Aug 2010, 8:03 AM
My problem is solved on my iPhone :

settings>general>accessiblility>turn zoom off

kristalaz
17 Feb 2011, 8:48 AM
Try using em and not pixels in css

subashk
25 Jun 2011, 9:21 PM
Remove this attrib - maximum-scale=1.0