Encloses the passed information in a generic block-level container tag, aligned center.

Syntax

JSV_center(expT)

Prototype


expT.CENTER()

Returns

The center function returns the passed information in a generic block-level container tag (i.e., <div align="center"></div>).

Parameters

The center function uses the following arguments.

Argument Description
expT The textual information that is to be centered.

Remarks

See the Web Design Group HTML 4.0 Reference on the generic block-level container tag for more information.

Dependencies

JSV_div

Example

The following lines of code

document.write( JSV_center("The quick brown fox jumped over lazy dog") );

produce