Delete a style from a cascading style sheet
When you no longer need a particular style, you can delete the style from your cascading style sheet (CSS) by using the Apply Styles panel or Manage Styles panel, depending upon the type of style you want to delete.
Important
Deleting a style from an external or internal CSS doesn't remove references to that style from your web pages. If you want to remove those references, you may find it easier to locate them by waiting to delete the style from your CSS until after you've removed the style references from your web pages. Doing this makes it easier to identify the styled content in your web pages. For more information, see Remove a style from content.
To delete a style from a cascading style sheet
Do one of the following:
To remove a style from an external cascading style sheet (CSS), either open the .css file or a web page the CSS is attached to.
To remove a style from an internal or inline CSS, open the web page that contains the CSS.
Do one of the following:
To delete a style from an open .css file, in the Manage Styles panel, right-click the style and select Delete, and then click Yes in the confirmation dialog box.
To delete a class or ID selector from the CSS of an open web page, in the Apply Styles or Manage Styles panel, point to the style, click the down arrow, select Delete, and then click Yes in the confirmation dialog box.
To delete an inline CSS in an open web page, either put your cursor in text that uses the inline CSS or select the content that uses the inline CSS. In the Apply Styles panel, point to the style, click the down arrow, select Remove Inline Style, and then click Yes in the confirmation dialog box.
See also
Tasks
Remove a style from content
Attach or detach an external cascading style sheet
Modify a style
Concepts
Cascading style sheet reference
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.