Reply to Re: <h1> spacing

Your name:

Reply:


Posted by dorayme on 01/09/08 05:12

In article <trk8o3hd8td5aha5liabtj65kn99smp6ou@4ax.com>,
richard <I.dont.care@do.you> wrote:

> <center><h1>sample</h1></center>
> <center><h2>text</h2><h3>line 2</h3></center>
> <center><h3>line 3</h3></center>
> <center>
> blah blah<br>
> yada yada<br>
> </center>
>
>
> Given this short example of code, how does one go about eliminating
> the extraneous space left between the <h(n)> tags?
> So that "line 2" would appear directly under "text" as any natural
> line would.

You would not use center because you would control the problem
you are concerned with by specifying padding and margins for your
heading elements, especially the top and bottom margins, and
while at it would do the job of centering the headings (if they
are short headings, text-align: center will do).

--
dorayme

[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

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