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

Posted by Jonathan N. Little on 03/02/06 21:27

David Smithz wrote:

> Hi there,
>
> I was asked to make a paragraph of text to have 1.5 line spacing on a
> website. I noticed (using Dreamweaver) there was a CSS style that allowed me
> to set the "Line height" (under the Type category when editing a Style sheet
> in Dreamweaver). I set this to 150% (not knowing what some of the other
> options were).
>
> Although this had the desired effect in the Dreamweaver screen layout of the
> website, when previewing in IE6 or Firefox it did not have the extra line
> space.
>
> Anyone know why this is?

In stylesheet for desired element, class, or id:

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

should do it, not sure how DW's widget interface implements it though.


--
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

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