CAPTION.align (Property)

The horizontal alignment of the caption with respect to its parent table.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myCAPTION.align

The alignment of the CAPTION object with respect to its containing parent table object is defined in this property. The expected and widely available set of alignment specifiers are available:

These may not all be supported by all browsers.

Note also that this property is deprecated in favor of using style properties such as textAlign and verticalAlign, which correspond to the style sheet attributes text-align and vertical-align.


See also:style.captionSide, style.textAlign, style.verticalAlign