1. A method for displaying a document, the document comprising logically nested elements, wherein a first element and a second element are logically nested within a third parent element, such that the first element and the second element are sibling content elements, and wherein a fourth element is logically nested within the second element, and wherein the first element is positioned on a page according to a non-overlapping positioning scheme, the method comprising: displaying the first element in a first two-dimensional layer; responsive to the second element being positioned on the page according to a non-overlapping positioning scheme: displaying the second element in the first two-dimensional layer; responsive to the fourth element being positioned on the page according to a non-overlapping positioning scheme, displaying the fourth element in the first two-dimensional layer; and responsive to the fourth element being positioned on the page according to an overlapping positioning scheme, displaying the fourth element in a second two-dimensional laver, wherein the first layer and the second layer are displayed separate from each other in three-dimensional space; and responsive to the second element being positioned on the page according to an overlapping positioning scheme: displaying the second element in a second two-dimensional layer; responsive to the fourth element being positioned on the page according to a non-overlapping positioning scheme, displaying the fourth element in the second two-dimensional layer, wherein the first layer and the second layer are displayed separate from each other in three-dimensional space; and responsive to the fourth element being positioned on the page according to an overlapping positioning scheme, displaying the fourth element in a third two-dimensional layer, wherein the first layer and the second layer and the third layer are displayed separate from each other in three-dimensional space.