You are here: Default leading for paragraphs « HTML « IT news, forums, messages
Default leading for paragraphs

Posted by City Dweller on 04/06/06 20:03

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

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?

Thanks in advance.

-- Abe

 

Navigation:

[Reply to this 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

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