Editing Style Sheets

You can edit cascading style sheet (.css) files using any standard text editor or HTML-authoring tool. You can edit the supplied style sheets or create your own. If you create your own style sheets it is usually easiest to copy an existing style sheet that is close to the style that you want, and change the settings as required.

By default, style sheets used to format tables in the Results tab are located in C:\Documents and Settings\All Users\Application Data\IBM\SPSS\Survey Reporter\6.0.1.0.0\Styles. You can save your own style sheets in this location or you can save them in another location and change IBM® SPSS® Data Collection Survey Reporter to point to the new location using the Style Templates field in the File Locations tab of the Options dialog box.

To edit a style sheet

Note: Do not edit style sheets in the style sheet folders, delete existing style sheets, or add new ones while Survey Reporter is running.

Close Survey Reporter.

In Windows Explorer:

• if you are editing an existing style sheet, make a backup of the .css file first.

• if you are creating a new style sheet, make a copy of the .css file that you want to base your new style sheet on and give it a new name. This can be any name that is valid in Windows Explorer; however, the name will appear in the drop-down list in the Results tab, so it is a good idea to use a fairly short name that briefly describes the content.

Open the .css file in a text or HTML editor and edit it as required.

Save and close the file.

Open Survey Reporter, select the Results tab, and select the new style sheet from the drop-down list in the toolbar.

You can also export tables using the edited style sheet by selecting it from the Table presentation drop-down list in the HTML Export dialog box. See the topic HTML Exports for more information.