ZVON > References > CSS2 Reference

Go to Standard
Property: font
Inherited: yes
Value: [ [ <font-style> || <font-variant> || <font-weight> ]? <font-size> [ / <line-height> ]? <font-family> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit
Initial: see individual properties
Applies to: all elements
Media: visual
Percentages: allowed on 'font-size' and 'line-height'
Sub-properties: font-family | font-size | font-size-adjust | font-stretch | font-style | font-variant | font-weight

Examples:



     <AAA> abcdefghijkABCDEFGHIJK </AAA>
View
* {display: block}
AAA {font: bold italic 14pt/20pt sans-serif}



     <AAA>
          <caption>caption</caption>
          <icon>icon</icon>
          <menu>menu</menu>
          <message-box>message-box</message-box>
          <small-caption>small-caption</small-caption>
          <status-bar>status-bar</status-bar>
     </AAA>
View
caption {font:caption}
icon {font:icon}
menu {font:menu}
message-box {font:message-box}
small-caption {font:small-caption}
status-bar {font:status-bar}



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet