RWS_STYLE


Purpose

Tags the contents of a string as a style definition. This must then be placed in the header of the HTML document using, for example, RW_PUT_EX.

Syntax

RWS_STYLE(vString, aClass)

Parameters

vString A string variable containing the text to be tagged as a style definition. On return, the variable contains the modified string.

aClass A dynamic array that can contain the following elements:

Element No.

Attribute

Description

1

TYPE

Defines the type of styles you are including in the tag. For cascading style sheets this should be text/css; for JavaScript style sheets it should be text/javascript. If you do not specify a TYPE attribute, text/css is assumed.

Attributes defined in the aClass parameter are applied to the STYLE tag.

For information about using aClass, see The aClass Parameter.

For information on style sheets, refer to the Recommended Reading listed in Related Documents.