Creating a Cascading Style Sheet

You can either generate a CSS from an existing Document Type Definition (DTD) file or create a new one from scratch.

To generate a CSS:

  1. In the Explorer, right-click an existing DTD node and choose Generate CSS.
  2. In the following dialog box, enter a new name for the CSS or click OK to use the default name.
    The new CSS node (CSS node icon image) appears in the Explorer and the file is opened in the Source Editor.

To create a new cascading style sheet:

  1. In the main window, choose File  and choose New.
    The New From Template wizard appears.
  2. Expand the XML & DTD node and select Cascading Style Sheet. Click Next to proceed.
  3. Enter a name and location for the CSS and click Finish.

    In the Explorer, the new CSS node appears under the specified directory. To the right of the Explorer, the new CSS file opens in the Source Editor.

See also
Editing a Cascading Style Sheet
Checking a Cascading Style Sheet
Copying and Pasting CSS References

Legal Notices