1. A method of controlling the z-order of a first element rendered in a presentation, comprising: receiving an ordered list of elements representing the order of layout in a presentation; assigning the first element in the ordered list to a raisecontainer element, wherein the first element may be one of several elements in the ordered list; painting the presentation the ordered list elements except for the first element; and painting the raisecontainer, containing the first element to the presentation.