do you mean body{ max-width: 100%; overflow: hidden; } i have ul li and each link has <li><a href="#aboutus">About Us</a></ li> so i do not have any containing div tag so should i set the max- width and overflow to the body
On Apr 18, 2:53 pm, Giacomo Balli <giacomoba...@gmail.com> wrote: > also, make sure elements max-width is 100% and overflow=hidden. > > On Apr 18, 11:37 am, Remi Grumeau <remi.grum...@gmail.com> wrote: > > > > > > > > > Do you have a demo link to provide us ? > > Did you put the viewport meta in the header? > > > <meta name="viewport" content="width=device-width; initial-scale=1.0; > > maximum-scale=1.0; user-scalable=0;"/> > > > R. > > > On Mon, Apr 18, 2011 at 10:25, Sudhakar <sudhakarar...@gmail.com> wrote: > > > i have created a webapp using only html css javascript using iui > > > library i have few pages and all the content is inside one html page > > > and for page navigation and slide effect i have used iui framework > > > > when there is lot of content i can scroll vertically up and down which > > > is fine however what i have also noticed is if i drag the page > > > horizontally either left to right or right to left and also if i drag > > > the page from top left diagonally the entire page is moving in those > > > directions which is not good > > > > i would like this movement to be locked and even if i use the finger > > > to slide across or diagonally the page should stay fixed and should > > > only move vertically up or down > > > > using only html css and javascript is there a way to fix this or are > > > there any other alternatives without creating the app natively using > > > xcode > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "iPhoneWebDev" group. > > > To post to this group, send email to iphonewebdev@googlegroups.com. > > > To unsubscribe from this group, send email to > > > iphonewebdev+unsubscr...@googlegroups.com. > > > 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 iphonewebdev@googlegroups.com. To unsubscribe from this group, send email to iphonewebdev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.