Hi. I have been searching for a few hours on this question and have had very little success. I am finding it difficult to put the correct words in for a google search!

Here's my issue:

I am using Visual Studio 2012 and am creating an ASP.NET web form page using master pages (I don't think this is too pertinent, but wanted to explain everything upfront).

I have a number of <div> that are positioned relatively to each other. Many are next to each other.

My issue is that the footer location does not account for the relative positions of the <div>s but is being placed as if they are one after the other (not repositioned).

I would like the page to be 'shrunk' (probably not the right word) to account for the positions of the Divs.

I hope this explanation makes sense. I am happy to provide more details if needed.

Thank you!