N
N
NewTypes2014-06-11 14:58:02
css
NewTypes, 2014-06-11 14:58:02

How to suppress vertical scroll on Android (and probably iOS)?

Created a page with horizontal scrolling. With a screen height of 600 pixels, the content div occupies only 300, the remaining half is empty, that is, there were no thoughts about scrolling down at all ... until I looked in the Android emulator.
How to get rid of vertical scrolling in touch screens? Overflow-x:hidden only removes the right scroll, but you can move the screen down. Do everything position: absolute or fixed? Or are there ADEQUATE measures to eliminate this nonsense?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sasha Tkachenko, 2014-08-04
@AleksandrAndHABR

overflow-y:hidden; cancel the vertical scrollbar.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question