home HTML XML DTD CSS Visual Filter JavaScript Java ASP SSI .NET  
CSS Reference >
Suggested Reading

Font properties


tag/attrib/value description
font: 1 3   4 3   Font formatting
font-style 1          
font-variant 1          
font-weight 1          
font-size 1          
/ line-height 1          
font-family 1          
caption 2 4   - -   Font used for control captions
icon 2 4   - -   Font used for icon labels
menu 2 4   - -   Font used in menus
message-box 2 -   - -   Font used in message boxes
small-caption 2 -   - -   Font used for small captions
status-bar 2 -   - -   Font used in window status bar
inherit 2 -   - -  
font-size: 1 3   4 3   Height of font
[ xx-small | - 3   4 3   6pt
x-small | 1 3   4 3   8pt
small | 1 3   4 3   10pt
medium | 1 3   4 3   12pt
large | 1 3   - 3   14pt
x-large | 1 -   - -   17pt
xx-large | 1 -   - -   21pt
              40pt
larger 1 4   4 3   20% larger
(Within FONT/Hx tag) |       4    
smaller 1 4   4 3   20% smaller
(Within FONT/Hx tag) |       4    
Length | 1 3   4    
Percentage 1 3   4    
(Within FONT/Hx tag) |   3   4    
inherit ] 2 -   - -  
font-family: 1 3   4 3   Appearance of font
Family-name 1 3   4 3  
Generic-family 1 3   4 3  
inherit 2 -   - -  
Generic-family 1           Generic font appearances
serif 1           e.g. Times
sans-serif 1           e.g. Helvetica
cursive 1           e.g. Zapf-Chancery
fantasy 1           e.g. Western
monospace 1           e.g. Courier
font-weight: 1 3   4 3   Weight of font
[ normal | 1 3   4 3  
bold | 1 3   4 3  
bolder | 1 4   4 3  
lighter | 1 4   4 -  
100 | 1 4   4 3  
200 | 1 4   4 3  
300 | 1 4   4 3  
400 | 1 4   4 3   Normal
500 | 1 4   4 3  
600 | 1 4   4 3  
700 | 1 4   4 3   Bold
800 | 1 4   4 3  
900 | 1 4   4 3  
inherit ] 2 -   - -  
font-style: 1 3   4 3   Slanted style of font
[ normal | 1 3   4 3  
italic | 1 3   4 3  
oblique | 1 4   - 3  
inherit ] 2 - - - -  
font-variant: 1 4   - 3   Caps style of font
[ normal | 1 4   - 3  
small-caps | 1 4   - 3  
inherit ] 2 -   - -  
font-stretch: 2 - - - -   Stretching of font
[ normal | 2 - - - -  
wider | 2 - - - -  
narrower | 2 - - - -  
ultra-condensed | 2 - - - -  
extra-condensed | 2 - - - -  
condensed | 2 - - - -  
semi-condensed | 2 - - - -  
semi-expanded | 2 - - - -  
expanded | 2 - - - -  
extra-expanded | 2 - - - -  
ultra-expanded | 2 - - - -  
inherit ] 2 - - - -  
font-size-adjust: 2 - - - -   Size adjustment for readability
[ Number | 2 - - - -  
none | 2 - - - -  
inherit ] 2 - - - -