Wed, 14 Dec 2005 12:16:30 +0100 from Achim Domma (SyynX Solutions
GmbH) <ac*********@syynx.de>:
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:
Nope -- no way. It would be useful in some circumstances, but each
element inherits its base size for %age calculations from its parent.
http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size
CSS does have absolute font size like "medium", but you don't want to
use them because you have no idea what size the user has set up in
the browser.
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec:
http://www.w3.org/TR/html401/
validator:
http://validator.w3.org/
CSS 2.1 spec:
http://www.w3.org/TR/CSS21/
validator:
http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you