beautypg.com

Disable/enable css – Adobe Dreamweaver CC 2014 v.13 User Manual

Page 177

background image

Disable/Enable CSS

Note: In Dreamweaver CC and later, CSS Styles panel is replaced with CSS Designer. For more information, see CSS Designer.

The Disable/Enable CSS Property feature lets you comment out portions of CSS from the CSS Styles panel, without having to make changes
directly in the code. When you comment out portions of the CSS, you can see what kinds of effects particular properties and values have on your
page.

When you disable a CSS property, Dreamweaver adds CSS comment tags and a [disabled] label to the CSS property you’ve disabled. You can
then easily re-enable or delete the disabled CSS property according to your preference.

For a video overview from the Dreamweaver engineering team about working with CSS Disable/Enable, see

www.adobe.com/go/dwcs5css_en

.

1. In the Properties pane of the CSS Styles panel (Window > CSS Styles), select the property you want to disable.

2. Click the Disable/Enable CSS Property icon in the lower-right corner of the Properties pane. The icon also appears if you hover to the left of

the property itself.

Once you click the Disable/Enable CSS Property icon, a Disabled icon appears to the left of the property. To re-enable the property, click
the Disabled icon, or right-click (Windows) or Control-click (Macintosh OS) the property and select Enable.

3. (Optional) To enable or delete all of the disabled properties in a selected rule, right-click (Windows) or Control-click (Macintosh OS) any rule

or property in which properties are disabled, and selectEnable All Disabled in Selected Rule, or Delete all Disabled in Selected rule.

Legal Notices

|

Online Privacy Policy

170

This manual is related to the following products: