Partager via


cal--daytitle-text-align Attribute | calDaytitleTextAlign 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--daytitle-text-align : sAlign }
Scripting [ sAlign = ] calendar.style.calDaytitleTextAlign

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

Applies To

calendar