Patent attributes
A method and system for presenting a document to a plurality of media device types optimized for the display medium. A document is generated in a markup language, and a plurality of style sheets are provided for formatting the document for a requesting device, with each style sheet accommodating a distinct display environment. The markup elements that reference two separate cascading style sheets (CSS) are configured differently such that they isolate the CSS reference for either high-resolution graphical display devices or small screen, low-resolution graphical display devices. A third style sheet is used as an intermediary to pass a CSS reference to small screen browsers while at the same time, shielding the CSS reference from certain high resolution browsers incapable of parsing the syntax of the reference. When a request for the document is received, the display environment of the requesting device is determined and a plurality of document presentation attributes are automatically transformed for the determined display environment. The formatted document is then delivered to the requesting device.