Creating a Cascading Style Sheet
See Also
You can either generate a cascading style sheet (CSS) from an existing document type definition (DTD) or create a new one from a template.
To generate a CSS:
- In the Files window, right-click an existing DTD node and choose Generate CSS.
- In the following dialog box, type a new name for the CSS or click OK to
use the default name.
The new CSS node (
) appears
in the Files window and the file is opened in the Source Editor.
To create a new CSS style sheet, perform the following steps.
- Choose File > New File from the main menu.
- Choose Other > Cascading Style Sheet. Click Next to proceed.
- Enter a name and location for the CSS file and click Finish.
The new CSS node appears in the specified
directory in the Files window. The new CSS file also opens in the Source Editor.
- See Also
- Editing a Cascading Style Sheet
- Generating DTD Documentation
Legal Notices