Linking an external style sheet to an HTML page

After you create style sheets for your project, you can link them to your documents using the Global Style Sheet editor.

StepsTo link an external style sheet to an HTML document:

  1. Open the HTML file to which you want to link a style sheet, and select Edit>Global Style Sheet from the HTML editor menu bar.

  2. Right-click an item in the left pane of the Global Style Sheet editor, and select Insert <LINK> Tag item from the pop-up menu.

    The Insert New Link Tag dialog box displays.

    Shown is the Insert New Link Tag dialog box. From top to bottom are text boxes for Title, I D, and Type, with the type displayed as text / c s s. Next is a drop down list labeled Media, a check box labeled Disabled, and a U R L text box with a browse button.
  3. (Optional) Type a title and ID in the appropriate text boxes, select a media type from the Media drop-down list, and select or clear the Disabled check box.

  4. Click the browse (...) button to select a file or type the name of the external style sheet to be linked to your Web page. Click OK.

    When you close the Global Style Sheet editor, the editor inserts the new LINK tag in the Head section of your HTML file with any optional attributes you selected.