cal--currentMonth-background-color Attribute | calCurrentMonthBackgroundColor Property

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

Sets or retrieves the background color of the current month for the calendar behavior.

Syntax

CSS { cal--currentMonth-background-color : sColor }
Scripting [ sColor = ] calendar.style.calCurrentMonthBackgroundColor

Possible Values

sColor String that specifies or receives any of the range of values specified in the Color Table.
lightgrey
Default. The default month background color for the calendar behavior.

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

Remarks

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

Applies To

calendar