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

Posted by Jukka K. Korpela on 11/02/12 11:41

"Jonathan N. Little" <lws4art@centralva.net> wrote:

> line-height: 1.5em;
> or
> line-height: 150%;

line-height: 1.5
is possible, too, 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.

(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.)

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

 

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

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