Reply to Re: need help with line-height

Your name:

Reply:


Posted by Jukka K. Korpela on 11/29/06 07:21

Scripsit Sophy:

> I'm trying to create a style that will influence line-height of
> line-feeds that coded with the <BR> tag.

Line feeds are control characters, so they have no line-height. The <BR>
tag, which should normally be avoided, specifies a line break, not any
particular way to achieve that in terms in control characters (line feed vs.
carriage return vs. new line vs. some other representation).

> I've tried defining the <br> tag in the head of the doc with
> css/line-height; also of adding an overall line-height attribute to
> the body of the doc, but no luck.

That was to be expected, due to the facts that I described.

> is there something I"m missing here?

Yes, quite a lot. What _we_ are missing is a URL and a description of what
you are really trying to accomplish.

> even tried increatsing the padding of the BR element.
>
> br {
> padding-top: 20px;
> }

This sounds like you are using <BR> instead of paragraph markup. Just use
<p>...</p> for a paragraph, mm'kay? If problems remain, post the URL and
tell what you'd like to change in the rendering.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original 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

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