alignalign*
*Contents  *Index  *Topic Contents
*Previous Topic: align
*Next Topic: align

align

Description

Specifies the alignment of the caption or legend.

Syntax

object.align[ = align]

Settings

This read-write property can be set to one of these string values:

bottom Align bottom-center.
center Center the caption.
left Left align.
right Right align.
top Align top-center.

Remarks

Difference between a LEGEND tag and a CAPTION tag:

The LEGEND tag is used only within a FIELDSET tag. The contents of the LEGEND tag are displayed by cutting a hole in the top border of the FIELDSET and placing the LEGEND text in that hole.

The CAPTION tag is used only within a TABLE tag. Its contents are displayed centered above the table and do not interact at all with the table border.

Applies To

CAPTION, LEGEND


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.