verticalAlign Property

Microsoft FrontPage Visual Basic

Show All Show All

verticalAlign Property

ShowAs it applies to the FPHTMLStyle object.

Sets or returns a Variant that represents the vertical positioning of an element or the text within an element.

expression.verticalAlign

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The verticalAlign property can be one of the following String values.

ValueDescription
baselineAligns the contents of an element to the base line.
subVertically aligns the text to subscript.
superVertically aligns the text to superscript.
topVertically aligns the contents of an element to the top of the object.
middleVertically aligns the contents of an element to the middle of the object.
bottomVertically aligns the contents of an element to the bottom of the object.
text-topVertically aligns the text of an element to the top of the object.
text-bottomVertically aligns the text of of an element to the bottom of the object.

ShowAs it applies to the IFPStyleState object.

Returns an IFPStyleLength object that represents the measurement settings for the vertical alignment of an element.

expression.verticalAlign

expression    Required. An expression that returns one of the objects in the Applies To list.