This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > December 2005 > font size relative to "top level" font size
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
font size relative to "top level" font size
|
|
| Achim Domma (SyynX Solutions GmbH) 2005-12-14, 6:24 am |
| 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
| |
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|