External Interfaces > RealWeb > RealWeb API > Text Formatting > CSS Styles and Stylesheets > RWS_STYLE

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RWS_STYLE (RealWeb) (rws_style.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.1 (MoTW) Revision 7Comment on this topic