Click to return to the DHTML, HTML     
cal--selectedDay-font-wei...     cal--selectedDay-vertical...     calendar Behavior    
Web Workshop  |  DHTML, HTML & CSS

cal--selectedDay-text-align Attribute | calSelectedDayTextAlign Property


Sets or retrieves whether the text is left-aligned, right-aligned, centered, or justified for the selected day in the calendar behavior.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('calendar.htc'); cal--selectedDay-text-align: sAlign;" .../>
HTML{ cal--selectedDay-text-align: "left" | "right" | "center" | "justify" }
Scripting[ sAlign = ] oCalendar.style.calSelectedDayTextAlign

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.
leftText is aligned to the left.
right Text is aligned to the right.
centerText is centered.
justifiedText is justified.

The property is read/write with a default value of left; the cascading style sheets (CSS) attribute is inherited.

Remarks

The cal--selectedDay-text-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.