The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

problem with overflow-y: scroll;

Forums » Opera for mobiles/devices » Opera Mobile for Android

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

9. December 2011, 14:52:59

tompk1

Posts: 1

problem with overflow-y: scroll;

Hi,

I'd like to have a div with a specified height. When the content takes more height then the div, it should be scrollable. This works fine on pc with any browser, on my android tablet it also works in the standard browser (google??), but not in the opera. Here the height of the div depends on the height of the content. Is there any workaround?

<div style="height: 200px; overflow-y: scroll;    overflow-x: hidden;">
    CONTENT
</div>      


Link to an example

Forums » Opera for mobiles/devices » Opera Mobile for Android