Reputation: 358
We have a complex web application with many pages. It has a general layout using tiles and the details page is overridden in every page. The problem that are facing is some of the pages have vertical scrollbars. We have tried to determine the actual height of the components and set it to avoid scrollbars. But, this doesn't work on every page. Please suggest a generic approach to avoid vertical scrollbar.
Upvotes: 0
Views: 73
Reputation: 56549
This can be done using CSS
itself.
Usually the following CSS
is used to avoid vertical scroll
overflow-y: hidden;
Upvotes: 1
Reputation: 2026
it can be done in css using
html { overflow:auto; }
or
html, body {
height: 100%;
}
Upvotes: 0