Reply to Re: Default leading for paragraphs

Your name:

Reply:


Posted by City Dweller on 11/28/01 11:44

Actually IE and Opera agree remarkably well, so they must use the same rule

-- Abe



"Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html> wrote in
message news:Xns979D72E13CFB1httpwwwneredbojiasco@208.49.80.251...
> To further the education of mankind, "City Dweller" <city@dweller.com>
> declaimed:
>
>> Hi all,
>>
>> Does anyone here know how browsers calculate the leading (vertical
>> distance between base lines) in a paragrap?
>>
>> For example, consider this HTML code:
>>
>> LINE1<P>LINE2
>
> LINE1 and LINE2 aren't in a (-the same) paragraph...
>
>> How is the vertical difference between the baselines of LINE1 and
>> LINE2 calculated? I am writing an HTML rendering application and can't
>> figure it out. Apparently it depends on the font size and metrics, but
>> how exactly?
>
> Normal vertical line distance can be adjusted by the css line-height
> property. I've noticed that the default is not the same in all browsers
> (but when I've set it, it _appeared_ to match.)
>
> --
> Neredbojias
> Infinity can have limits.

[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

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