Partager via


cal--title-font-family Attribute | calTitleFontFamily 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 for the calendar behavior.

Syntax

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

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--title-font-family attribute is available only to objects participating in the calendar behavior.

Applies To

calendar