Previous Message
Next Message

[css-d] line-height/font-size question

Sent by Big John on 21 June 2002 01:01


Howdy folks!
I have a little theoretical question.

Let's say I have a page with the 'line-height' set to some value,
perhaps '110%'. Then in a div I specify 'font-size:6em;' in order
to make some text real big. 

Should the line-height for that div be adjusted by the browser 
to match the increased font-size? I ask because none of the major 
modern browsers actually do this. To make it happen I must 
apply a line-height to that div. 

Note: if I don't specify a line-height globally, the browsers do 
adjust line-height. (well, Op6 is still a bit buggy)

I can't find a clear statement on this in the W3C specs.
BTW, this is for a demo I'm working on, so dibs, OK?  :]
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
Previous Message
Next Message

Message thread: