May 2000
Intermediate to advanced
472 pages
14h 17m
English
font-size — IE4 P/Q | IE5 P/Y | NN4 Y/Y | Op3 Y/-
This sets the size of the font. This can be defined as an absolute size, a relative size, a length value, or a percentage value. Negative length and percentage values are not permitted. The dangers of font-size assignment are many and varied. Some of these dangers are covered in Chapter 4.
H2 {font-size: 200%;}
H3 {font-size: 36pt;}
xx-small | x-small | small | medium | large | x-large | xx-large | larger | smaller | <length> | <percentage> |
medium
yes
all elements
Percentage values are relative to the parent element’s font size.
Read now
Unlock full access