font-sizerule sets the size of the fonts in the element. You can express the size using an absolute measurement or a relative measurement. For example, the following rule (in a
STYLEtag or in a style sheet file) sets the font size of
which gives us this
180%the size of the surrounding text, making
So this string that uses
That is a <EM>groovy</EM> idea!
looks like this:
That is a groovy idea!
Using relative font sizes when applied to headers has a special problem that is worth understanding. We'll discuss that in the next page.Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.