pavan
pavan

Reputation: 1

How to enable horizontal scroll in iPhone

I am designing screens using jquery mobile.

I'm not able to scroll horizontally and i used the following meta tag for view port settings.

How to get the horizontal scrollbar?

Upvotes: 0

Views: 7080

Answers (2)

Gaurav Shah
Gaurav Shah

Reputation: 5279

You can limit the width of the div tag and then declare overflow scroll on the div:

<div style="width:200px; overflow:scroll" ></div>

Upvotes: 2

Jasper
Jasper

Reputation: 76003

There are serious cross-platform short-falls with using overflow=scroll in a mobile environment. I have had success with implimenting iScroll: http://cubiq.org/iscroll-4

I know that iScroll works on iPhone and Android devices from my own testing.

Upvotes: 1

Related Questions