Question: When I post back a page to the server and reload the same page, what causes the browser to reposition the page (vertical scrolling wise) to the same position it was in before the postback?


Now this takes careful testing but if you shrink your browser window height to, lets say half the page height, then scroll to the very bottom of the page, then click on the bottom question, and for me it reloads the page with the answer now displayed AND repositions the page at the bottom, where I had it before.

Can anyone explain why this happens? Because on another site I have it doesn't do the reposition and I want it to! The only difference that I can think of is that this site uses tables and the other site doesn't. But I can't imagine how that might make a difference.

Any thoughts much appreciated.