Did you try setting the minimum height on your body to match screen size. Set minimums for portrait and landscape in css. I think that should do the trick.
Vic Hudson Phone: (859) 806-1773 Personal: [email protected] School: [email protected] Work: [email protected] On Feb 1, 2010, at 0:35, David Brabyn <[email protected]> wrote: > Hi all, > > Please for give this total newbie question. > > I am building the iPhone version of my website and I am having trouble > getting the address bar to hide when I load a page which has a > content with > a height that is smaller than the viewport's (in both orientations). > > The page content is basically my logo and a navigation bar. I want > it to > center in both portrait and landscape formats and display without the > address bar. > > The "Onload hiding of the URL bar" example on the iphonewebdev website > didn't do the trick. Any tips much appreciated. > > Best, > > David > > > > -- > 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 > . > -- 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.
