cal--selectedDay-background-color Attribute | calSelectedDayBackgroundColor 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 selected day for the calendar behavior.

Syntax

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

Possible Values

sColor String that specifies or receives any of the range of values specified in the Color Table.

The property is read/write. The property has no default value. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

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

Applies To

calendar