Click to return to the DHTML, HTML     
cal--selectedDay-text-ali...     cal--title-color Attribut...     calendar Behavior    
Web Workshop  |  DHTML, HTML & CSS

cal--selectedDay-vertical-align Attribute | calSelectedDayVerticalAlign Property


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.
baselineAligns the contents of an object supporting VALIGN to the base line.
subVertically aligns the text to subscript.
superVertically aligns the text to superscript.
topVertically aligns the contents of an object supporting VALIGN to the top of the object.
middleVertically aligns the contents of an object supporting VALIGN to the middle of the object.
bottomVertically aligns the contents of an object supporting VALIGN to the bottom of the object.
text-topVertically aligns the text of an object supporting VALIGN to the top of the object.
text-bottomVertically 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
calendar


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.