My webpage content is centered in the middle using auto margin and has a black border on both sides (left and right). If I scroll down, the border doesn't update. So if I scroll do
Solution 1:
The height of the content div is set to 100%
This is likely your problem. Because you've set the div to height: 100% it's only as tall as the viewport. (Even though the content overflows out of it.)
Post a Comment for "Redraw Page Border On Scroll"