1. A method of applying document content to adaptive templates, comprising: selecting an appropriate set of templates which to apply document content; determining the size and position of an element within a template of the set of templates; calculating two-dimensional regions of a layout page; reducing the size of the two-dimensional regions according to element overlap and z-ordering; and inserting document content into the two-dimensional regions.