1. A computer system for rendering content on a device in response to a request from the device, the system comprising: a plurality of server objects containing information related to the display of the content on the device; a state-machine coupled to the plurality of server objects and configured to preserve a current style state and a desired style state; and a writer coupled to the state-machine and configured to dynamically determine whether the current style state matches the desired style state, and if not, output a sufficient number of markup tags to transition from the current style state to the desired style state, wherein at least one unnecessary markup tag is not written to the device.