Opening an existing style sheet

You open an existing style sheet in the standalone Style Sheet editor. Although you can import a style sheet and modify embedded styles with the Global Style Sheet editor, you can open or edit an external style sheet only by using the standalone editor.

StepsTo open an existing style sheet for editing:

  1. Right-click the file in the System Tree and select Edit from the pop-up menu

    or

    Drag an existing CSS file from the System Tree to the editor area for PowerBuilder.

    If you drag a CSS file while an HTML page is open in the HTML editor, the file does not open in the Style Sheet editor, but becomes the target of a hyperlink instead.

    For information on linking style sheets to HTML pages, see “Linking an external style sheet to an HTML page”.

StepsTo open a file that is not part of your Web target:

  1. From a drag-and-drop file viewer, such as Microsoft Windows Explorer, drag the file into the Web Target workspace

    or

    Select File>Open from the PowerBuilder menu bar and browse to find the file in the Open dialog.