摘要 |
In one set of embodiments, a web document is associated with a style sheet that can include style rules, which provide details about how the document is to be presented and formatted by, for example, a web browser. A reduced set of style rules is determined based upon contents of the web document and style sheet. Reducing the size of the style sheet is desirable, e.g., to increase communication and processing efficiency when the style sheet is sent with the document in an e-mail message. The reduced set of style rules can include rules that are referenced by user interface components present in the document, and can exclude rules that are not referenced by the document, or are incompatible with or not applicable to e-mail. The reduced set of style rules can be embedded in an e-mail message or other communication in place of the original style sheet. |