font size relative to "top level" font size

Giganews Newsgroups
Subject: font size relative to "top level" font size
Posted by:  Achim Domma (SyynX Solutions GmbH) (achim.dom…@syynx.de)
Date: Wed, 14 Dec 2005

Hi,

is there a possibility to set the font size to a percent value of the
"top level" font size?

For example:

The font size of the body might be 100% and I have a div which should
have a font size of 80% of this value, independent of other tags around
this div:

<body style='font-size: 12pt'>
    <div style='font-size: 90%'>
      <div style='???'>text with a size of 80% of 12pt, independent
      of the 90% of the parent div</div>
    </div>
</body>

regards,
Achim

Replies