cal--offMonth-text-align Attribute | calOffMonthTextAlign Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

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

Syntax

CSS { cal--offMonth-text-align : sAlign }
Scripting [ sAlign = ] calendar.style.calOffMonthTextAlign

Possible Values

sAlign String that specifies or receives one of the following values.
left
Default. Text is aligned to the left.
right
Text is aligned to the right.
center
Text is centered.
justified
Text is justified.

The property is read/write. The property has a default value of left. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

The cal--offMonth-text-align attribute is available only to objects participating in the calendar behavior.

Applies To

calendar