1. A non-transitory computer-readable medium comprising program code to be executed by a processor, the program code comprising: program code for 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; program code for 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; program code for receiving a first relationship between the first display element and the second display element; program code for 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; program code for storing the modified second style attribute in the style sheet language document; program code for 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; program code for receiving a second relationship between the first display element and the third display element; program code for 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; and program code for 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.
5. The non-transitory computer-readable medium of claim 1 , wherein the program code for receiving a relationship between the first display element and a second display element comprises program code for receiving the relationship from a style sheet language document.