I have a div that is styled with overflow-x: hidden, but I\'m finding that when there is a wider div inside it that contains text, the user can still drag sidew
overflow-x: hidden
The simplest answer that works for me is to add the CSS style position: fixed; to the tag.
position: fixed;