Relative size
To what exactly are relative font sizes relative? The default font size, of course. The advantage of relative font
sizes is that you can alter a Web page??™s default font size with one command, the
tag. The tag
takes the following form
where value is a number from 1 to 7. The
tag is usually placed immediately following the
opening tag. Dreamweaver does not support previewing the results of altering the
tag, and the tag has to be entered by hand or through the external editor.
You can distinguish a relative font size from an absolute font size by the plus or minus sign that precedes
the value. The relative sizes are plus or minus the current
size. Thus, a
???+1???> is normally rendered with a size 4 font because the default is 3. If you include the following
line in your Web page:
text marked with a is displayed with a size 6 font. Because browsers display only
seven different size fonts with a setting??”unless you??™re using Cascading Style
Sheets??”any relative size over won??™t display differently when previewed in a
browser.
NOTE NOTE
288
Designing and Crafting Core Pages Part II
If you change the basefont value, some browsers do not correctly handle relative font sizes for
text within tables.
Pages:
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601