cal--currentMonth-vertical-align Attribute | calCurrentMonthVerticalAlign Property
This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.
Sets or retrieves the vertical alignment of text in the cells of the current month for the calendar behavior.
Syntax
CSS { cal--currentMonth-vertical-align : sVAlign } Scripting [ sVAlign = ] calendar.style.calCurrentMonthVerticalAlign
Possible Values
sVAlign String that specifies or receives one of the following values.
baseline
- Aligns the contents of an object supporting vAlign to the base line.
bottom
- Vertically aligns the contents of an object supporting vAlign to the bottom of the object.
middle
- Vertically aligns the contents of an object supporting vAlign to the middle of the object.
sub
- Vertically aligns the text to subscript.
super
- Vertically aligns the text to superscript.
text-bottom
- Vertically aligns the text of an object supporting vAlign to the bottom of the object.
text-top
- Vertically aligns the text of an object supporting vAlign to the top of the object.
- top
- Default. Vertically aligns the contents of an object supporting vAlign to the top of the object.
The property is read/write. The property has a default value of top. The Cascading Style Sheets (CSS) attribute is inherited.
Remarks
The cal--currentMonth-vertical-align attribute is available only to objects participating in the calendar behavior.
Applies To
calendar