Export (0) Print
Expand All

cal--currentMonth-text-align Attribute | calCurrentMonthTextAlign 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 current month in the calendar behavior.

Syntax

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

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 inherited.

Remarks

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

Applies To

calendar

Community Additions

ADD
Show:
© 2014 Microsoft