CSS Preferences
Oxygen XML Editor plugin can format and indent your CSS files. To configure the CSS formatting options, open the Preferences dialog box and go to .
The following options control how your CSS files are formatted and indented:
- Class body on new line
- If enabled, the class body (including the curly brackets) is placed on a new line. Disabled by default.
- Indent class content
- When enabled, the class content is indented. Enabled by default.
- Add space before the value of a CSS property
- When enabled, whitespaces are added between the
:
(colon) and the value of a style property. Enabled by default. - Add new line between classes
- If enabled, an empty line is added between two classes. Disabled by default.
- Preserve empty lines
- When enabled, the empty lines from the CSS content are preserved. Enabled by default.
- Allow formatting embedded CSS
- When enabled, CSS content that is embedded in XML is also formatted when the XML content is formatted. Enabled by default.