You are here: Re: CSS line spacing « HTML « IT news, forums, messages
Re: CSS line spacing

Posted by Jonathan N. Little on 10/15/71 11:42

Jukka K. Korpela wrote:
> "Jonathan N. Little" <lws4art@centralva.net> wrote:
>
>
>>line-height: 1.5em;
>>or
>>line-height: 150%;
>
>
> line-height: 1.5
> is possible, too,

Yes I am aware this in one of the few unit-less values for a CSS
property, I guess basically a ratio value. I chose not to because so
many newbe's 'forget' the units in other CSS properties where it is
required that I did not want to confuse the issue.

> and actually works better when you have font size
> variation inside the block. This is a long story, and I won't go into
> details here, but read about line-height in a good book on CSS.

Any online source where this advantage is discussed?

> (You will probably also realize that you need to tell the person who
> asked for 1.5 spacing that he doesn't understand the issue. There might
> be special cases where 1.5 is OK, but for the most of it, it is too
> much.)
>

I can have a the effect of 'lightening' your text blocks and giving a
softer feel to your page with a plain old san-serif font without
resorting to an obscure face like Bernard Fashion than many folks would
not have. But yes I agree with you.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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