Reply to Re: Default leading for paragraphs

Your name:

Reply:


Posted by Neredbojias on 04/06/06 21:17

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

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