Modified the css code so that even when a page is shorter than the full page, it is a bit taller than the screen. This forces the browser to always have a scrollbar. Why, you might ask? Well, because I center the webpages, they are always in a specific spot… but when a scrollbar appears automagically because the page is longer than the browser can display, the entire page shifts slightly to the left, which is bloody annoying. So, if we always make the page slightly larger than the browser window, there will always be a scrollbar and therefore there won’t be a shift between pages that have a need for a scrollbar and those that do not.
- Tag Archives HPC Website
-