Sets or retrieves the vertical alignment of text in the cells of the selected day for the calendar behavior.
Syntax
XML <Prefix:CustomTag ID = sID STYLE="behavior:url('calendar.htc'); cal--selectedDay-vertical-align: sAlign;" .../> HTML { cal--selectedDay-vertical-align: "baseline" | "sub" | "super" | "top" | "middle" | "bottom" | "text-top" | "text-bottom" } Scripting [ sAlign = ] oCalendar.style.calSelectedDayVerticalAlign
Possible Values
Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag. CustomTag User-defined tag. sID String that uniquely identifies the object. baseline Aligns the contents of an object supporting VALIGN to the base line. sub Vertically aligns the text to subscript. super Vertically aligns the text to superscript. top Vertically aligns the contents of an object supporting VALIGN to the top of the object. middle Vertically aligns the contents of an object supporting VALIGN to the middle of the object. bottom Vertically aligns the contents 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. text-bottom Vertically aligns the text of an object supporting VALIGN to the bottom of the object. The property is read/write with a default value of top; the cascading style sheets (CSS) attribute is inherited.
Remarks
The cal--selectedDay-vertical-align attribute is available only to objects participating in the calendar behavior.
Applies To
calendar