So I have a div footer on my page that lets say has a height of 200 pixels. Now this div has a button that reveals some html objects that are within the div and therefore increases the height of the div, to lets say, 400px.
So my div that was originally 200px is now 400px and is aligned to the bottom of the page. The problem is that when the div is expanded my browser doesnt automatically scroll down the window in order to show all the div. As a result, i only see the top 200 pixels of my div ( the original size ) and I have to manually scroll down my browser window in order to see the complete div.
Is there a way using html css that I can make my browser automatically scroll down when the div expands? If not, I guess it is possible with javascript at least..