style.captionSide (Property)

An attribute that controls the positioning of a caption with respect to its owning object.


CSS level - 2
DOM level - 2
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.captionSide
CSS syntax:caption-side: aSwitch
Argument list:aSwitchA switching value

This property would normally be used on a style that is used with tables. It allows the caption position relative to the owning element to be controlled.

The following keywords can be used with this property:

This is intended to replace the deprecated alignment controls that were formerly available with the <CAPTION> HTML tag.

See also:CAPTION object, CAPTION.align, CAPTION.vAlign, TABLE object