0 out of 1 rated this helpful - Rate this topic

cal--daytitle-text-align Attribute | calDaytitleTextAlign Property

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
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ