Partager via


cal--offMonth-background-color Attribute | callOffMonthBackgroundColor 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 previous and next months for the calendar behavior.

Syntax

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

Possible Values

sColor String that specifies or receives any of the range of values specified in the Color Table.
lightgrey
Default. Sets the 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--offMonth-background-color attribute is available only to objects participating in the calendar behavior.

Applies To

calendar