Reply to Re: Applet printing

Your name:

Reply:


Posted by Ben C on 11/03/07 18:39

On 2007-11-03, dorayme <doraymeRidThis@optusnet.com.au> wrote:
> In article <slrnfiogtv.v30.spamspam@bowser.marioworld>,
> Ben C <spamspam@spam.eggs> wrote:
>
>> On 2007-11-03, dorayme
>> >
>> > http://netweaver.com.au/test/lineHeight.html
>>
>> I think the point is that if you inherit a percentage line-height, you
>> get that percentage of the font-size of the ancestor that you inherited
>> line-height from.
>>
>> This is because you don't inherit it as a percentage, but you inherit
>> the result of that percentage applied to the ancestor it was set on.
>>
>
> Certainly right. I chose the absurdly big 'ancestral' 50px to
> help see a case of this.
>
>> The spec is rather unclear on this:
>
> I agree. As so often, One stares at the specs, forms about 4
> alternative pics in the brain as to what the meaning or
> implications really are, shrugs, makes some test cases and the
> pennies start to drop - with any luck. Then one goes back to the
> specs and they look a bit clearer. <g>

Indeed, I only figured out what the spec was talking about after looking
at your example.

But if you read the bit about "cascading" it does explain (more or less)
that it's computed values that are inherited. That suddenly makes the
line-height section make more sense.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация