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

Posted by Nije Nego on 10/31/21 11:44

On Thu, 06 Apr 2006 20:41:00 GMT, City Dweller wrote:

> "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote in message
> news:Xns979DD261A67F6jkorpelacstutfi@193.229.4.246...
>> "City Dweller" <city@dweller.com> wrote:
>>
>>> Does anyone here know how browsers calculate the leading (vertical
>>> distance between base lines) in a paragrap?
>>
>> _In_ a paragraph?
>>
>>> For example, consider this HTML code:
>>>
>>> LINE1<P>LINE2
>>
>> It's poor code. The <P> tag is the start tag of a paragraph. Why would you
>> use it between _lines_?
>>
>>> How is the vertical difference between the baselines of LINE1 and LINE2
>>> calculated?
>>
>> This gets more and more confusing. Such a vertical distance depends on
>> many
>> factors, but I'm afraid you cannot understand the issue before you
>> understand
>> the basics of HTML.
>>
>>> I am writing an HTML rendering application
>>
>> Oh my.
>>
>> By the way, what makes you think you should imitate web browsers? They do
>> not
>> imitate the rendering principles of traditional typography. If you don't
>> want
>> to just use a web browser (and perhaps tune the rendering with a style
>> sheet), why don't you start designing a _good_ layout engine? But you'll
>> need
>> to learn HTML first.
>>
>> --
>> Yucca, http://www.cs.tut.fi/~jkorpela/
>> Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
>>
>>

> Wow, what an asshole! Thanks for nothing, fucker.
>
> -- Abe
>

From where I stand everything Yukka said is correct, but I would just add
that, before learning HTML you should collect some basic COMMUNICATION
skills.

You do not have to thank me.

--
o'tom po'tom

 

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

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