I had the same issue and found this buried in the developer documentation: -webkit-text-size-adjust: none;
That should force it to keep the same font size no matter what orientation. Cheers, Ryan On Aug 25, 10:31 pm, Hemen Punjani <[email protected]> wrote: > Hi Rob, > > Thanks for your reply, > I have not change the font.. > It automatically increases the font size when it orient as horizontally... > > thanks, > Hemen > > > > On Tue, Aug 25, 2009 at 8:04 AM, RobG <[email protected]> wrote: > > > On Aug 24, 9:02 pm, Hemen <[email protected]> wrote: > > > Hello, > > > > Is there any one can help me out for the following page. > > > > I have one page which contains the plain text, and I am using the java > > > script to check the orientation. and change the width of the div as it > > > oriented. > > > > But when I show first time, as vertically it looks ok. > > > Now when I orient it to horizontally the font automatically becomes > > > bigger and feet to screen size. > > > And then again I orient to vertically, the font is as usual (bigger - > > > as shown in horizontally) and does not refeet to the vertical screen > > > size. > > > > So my issue is that, I want to feet the font in the vertical screen > > > size, when I turned it to horizontally -> vertically, it looks weird. > > > Don't mess with the display at all. If the user wants a bigger text > > size and landscape, let them do it, no javascript required. > > > [...] > > > > When I reload to vertically it does not re feet to the screen. > > > Why? and how can i slove it? > > > Please help me out of this problem... > > > Don't mess with the layout in the first place, let the iPhone do its > > thing. > > > -- > > Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
