[dokuwiki] styles, line-heights and ems
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 14 Mar 2006 02:53:08 +0000
Anika, et al,
I notice dokuwiki has some line-height property values in ems.
Should we remove the em or make them percents (which amounts to the same
thing)?
As I understand it, if there is a font-size change in a nested element,
an inherited line-height using em units will not change - ie, it won't
be recalculated for the new font-size. A line-height value using a
unitless number or a percent will be inherited as a ratio and the actual
line-height will be recalculated.
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: