Copying and Pasting CSS References

If you want an XML file or an HTML file to use a cascading style sheet (CSS), the file must contain a reference to the CSS. The IDE lets you easily copy an existing CSS reference and paste it into one or more documents.

To add an existing CSS reference to a document:

  1. In the Explorer, right-click an existing CSS node and choose one of the following commands:
  2. Open the XML or HTML file in the Source Editor.
  3. Right-click the location in the source where you want to place the reference. Then choose Paste from the contextual menu.

    For HTML files, place the reference in the <HEAD> tag. For XML files, place the reference after the XML prolog or header.

See also
Creating a Cascading Style Sheet
Editing a Cascading Style Sheet
Checking a Cascading Style Sheet

Legal Notices