Automatic page height when including web page

Hello. I am making a website and i decided that i will use one index page that holds the side bars, menu, footer and the title and that i will just include the other pages in the main area of the page but i ran into trouble. The height of the main area is set but some of the pages dont fit in there but if i make it bigger other pages look bad. Is there a way of setting the height of the main area to automaticaly fit to the included page? Please and thank you.

Sponsor our Newsletter | Privacy Policy | Terms of Service