fixed

Causes a string to be displayed in fixed-pitch font as if it were in a TT tag.

Applies to

String

Syntax

fixed()

Parameters

None

Description

Use the fixed method with the Write method to format and display a string in a document.

Example

The following example uses the fixed method to change the formatting of a string:

var worldString="Hello, world"
 (worldString.fixed())

The previous example produces the same output as the following HTML:

<TT>Hello, world</TT>