cal--offMonth-font-family Attribute | calOffMonthFontFamily Property

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

Sets or retrieves the name of the font used in the previous and next month fields for the calendar behavior.

Syntax

CSS { cal--offMonth-font-family : sFont }
Scripting [ sFont = ] calendar.style.calOffMonthFontFamily

Possible Values

sFont String that specifies or receives one of the following values.
family-name
String that specifies any of the available font families supported by the browser (for example, Times, Helvetica, Zapf-Chancery, Western, or Courier).
generic-name
String that specifies any of the following font families: serif, sans-serif, cursive, fantasy, or monospace.

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

Remarks

The cal--offMonth-font-family attribute is available only to objects participating in the calendar behavior.

Applies To

calendar