I’ve written a web application and found that when I resize the page, the browser doesn’t display it’s own scrollbar as the window shrinks. This prevents the user from accessing content. I’ve set my body width to 500px and set the navbar to white-space:nowrap. How can I get the browser to recognize that there is content to the right of the screen?
Just to clarify I want the browser’s scrollbar and not a scroll bar on any control.
You can use one of the following depending on whether you want horizontal, vertical, or both scrollbars to be added:
However, I think if you show the content in a section and then do
So that you add scroll to the div rather than force the browser to show scrollbars, then your page will provide a much better user experience since such scrollbars are easier for users to access.