Partager via


cal--title-text-align Attribute | calTitleTextAlign Property

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

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

Syntax

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

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--title-text-align attribute is available only to objects participating in the calendar behavior.

Applies To

calendar