6. The method of claim 4 , wherein said generating said new style comprises: adding a style property to said new style.
4. A method for editing a page in a development environment, the method comprising: automatically comparing one or more edits made to user-selected content with a list of existing styles to identify at least one style having attributes matching the edits, the styles defined in a style sheet comprising one or more style sheet rules, the style sheet included in a document comprising said user-selected content or in a separate style sheet file referenced by the document comprising said user-selected content, each rule applicable to one or more elements in the document to control an appearance of the one or more elements; and if a matching style in said style sheet is located in said comparing step, automatically applying the discovered style sheet rule to said content by modifying markup defining a structural element of said web page corresponding to said content; otherwise, automatically generating a new style comprising said edits and updating the style sheet to include said new style; and applying the generated new style, to the user-selected content, wherein said applying steps comprise automatically inserting spanning tags in said document around said user-selected content, wherein said spanning tags identify one of said matching style or said new style.