Paul Novitski wrote:
 
> At 10:07 PM 5/20/2005, Felix Miata wrote:

> > > Sure some designers mess it up with pixel-defined line-heights, but it
> > > is working.

> >Sometimes yes, sometimes no. A lot of authors mess things up with fixed
> >line-heights, and even more mess it up using em for line-height.
 
> Felix, could you explain that last?  I thought using ems (or percentages)
> for line-height was the only way to keep line-height proportional to the
> current font-size.

That only works at the current level. Descendants get the computed
line-height rather than the proportion. Number for line-height gives
the proportion to descendants as well.

The URL in the post you replied to
http://members.ij.net/mrmazda/auth/IE/line-heightIE.html was created
precisely to demonstrate that problem, as was its sister page that uses
pt instead of px for line-height:
http://members.ij.net/mrmazda/auth/IE/line-heightIEpt.html

http://members.ij.net/mrmazda/tmp/Images/line-height-IE.gif shows the
former in IE6 on W98 @ 120 DPI with author font styles and sizes
disallowed. If the IE font size is increased, the problem gets worse.
-- 
"Through Him all things were made; without Him nothing was made
that has been made."                                John 1:3 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to