JSSTag.verticalAlign (Property)

Control over the vertical alignment of the object.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.verticalAlign
NmyJSSTag.verticalAlign = anAlignment
CSS syntax:vertical-align: anAlignment
HTML syntax:<... VALIGN="...">
Argument list:anAlignmentA vertical alignment control

The JSSTag.verticalAlign property corresponds to the vertical-align CSS property.

This property controls the vertical alignment of an element. It provides a way to raise or lower individual letters to create subscript or superscript effects. The technique can be used to move images relative to a line of text.

The following values are meaningful for this property:

In addition you can specify a percentage value and a length value in various units of measure.

The default value for this property is "baseline".

This value is not inherited from its parent container element.


See also:style.verticalAlign