I am working with two images, imgA and imgB. ImgA is 2000px high while imgB is 1000px high.
After placing them one after the other, I use relative positioning to move imgB up in order to overlap imgA.
Expectedly, the browser window should be 2000px high, but it seems that the browser allocates space for both images initially, making the total height 3000px. This results in a blank space of 1000px at the bottom of the page after imgB is moved up to overlap imgA.
How can I prevent this blank space from occurring?
Thank you