Sent by Big John on 21 June 2002 09:09
> On Friday, June 21, 2002, at 02:03 , Big John wrote:
> > Should the line-height for that div be adjusted by the browser
> > to match the increased font-size?
--- Philippe Wittenbergh [EMAIL-REMOVED]> wrote:
> As far as i understand, specifying line-height globally (on
> <body>) will affect all boxes. So if you specify:
> body {
> font-size: 1em;
> line-height: 1.5 em;}
> This will be the line-height set for the whole document,
> E. Meyer confirms this: <Quote>...the number itself is inherited,
> not the computed value.</quote>
That's just it. It's the computed value that is getting
inherited, not the number. I believe this is so because
when I apply the same line-height value used in 'body' to
the descendant div, the font-size on that div now controls
the line-height.
Before, the div's rendered line-height was whatever the
computed global value happened to be, no matter what
font-size was put on the div. Take away the global
line-height, and no problem.
Interestingly, Op6 won't allow the div's line-height to be
much smaller than the x height. (the height of a small 'x')
Better, but still not good enough.
Big John
=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com