7. A computer-implemented method comprising: receiving a first display element, the first display element defined at least in part according to a first style attribute defined in a style sheet language; receiving a second display element, the second display element defined at least in part according to a second style attribute defined in the style sheet language; receiving a first relationship between the first display element and the second display element; automatically generating a modified second style attribute in the style sheet language, the modified second style sheet attribute based on the first style attribute and the first relationship; storing the modified second style attribute in the style sheet language document; receiving a third display element, the third display element defined at least in part according to a third style attribute defined in a style sheet language; receiving a second relationship between the first display element and the third display element; automatically generating a modified third style attribute in the style sheet language, the modified third style sheet attribute based on the first style attribute and the second relationship; and storing the modified third style attribute in the style sheet language document, wherein at least one of the first or the second relationship comprises a spatial relationship or a size relationship, and wherein at least one of the first or the second relationship is dynamic.
10. The method of claim 7 , further comprising storing the relationship in the style sheet language document.