Encloses the passed information in a generic block-level container tag, aligned center.
JSV_center(expT)
The center function returns the passed information in a generic block-level container tag (i.e., <div align="center"></div>).
The center function uses the following arguments.
Argument | Description |
expT | The textual information that is to be centered. |
See the Web Design Group HTML 4.0 Reference on the generic block-level container tag for more information.
The following lines of code
document.write( JSV_center("The quick brown fox jumped over lazy dog") );
produce
Copyright © 1998-2000 Roaring Fork Software. All rights reserved.