Hide Horizontal Scrollbar. The overflow-x and overflow-y CSS attributes control the horizontal and vertical scrollbars. I have tried more things, but nothing work.
To hide scrollbars from any element, you can use CSS code. when scrolling starts to add to on-scrollbar classes to related scrolling entity. How to make invisible again scrollbar invisible again after scrolling finished. Hide all overflowing content and also disable scrolling.
I would like to set overflow:scroll and be able to show a vertical scrollbar, but not a horizontal one.
And don't forget to turn on wrapping line.
Avoid horizontal scrolling on Web pages and do not hide horizontal scroll bar as they can make content. If you don't want a horizontal scroll bar, then use the Anchor property of each control to tie it to the right hand side of the form. To only hide the vertical scrollbar, or only the horizontal scrollbar, use overflow-y or overflow-x Note that overflow: hidden will also remove the functionality of the scrollbar.