2 ms·
I've wondered if browsers couldn't reduce the paging distance by subtracting the height of header and footer regions on the page (as identified by position: abs
by eyesee 13y ago
I've wondered if browsers couldn't reduce the paging distance by subtracting the height of header and footer regions on the page (as identified by position: absolute?). Something tells me it would not be so simple.
- evan_ 13y agoit should be possible for the page to fix, I think, by listening for a pagedown or spacebar press and changing the scroll position based on the height of the viewport minus the height of the stuff that obscures the viewport. I think it would be really difficult for the browser to come up with a solution that would work anywhere.