You are here: Re: Amount of space after <p> paragraph tag. « HTML « IT news, forums, messages
Re: Amount of space after <p> paragraph tag.

Posted by dorayme on 12/03/07 00:44

In article
<22ff74cf-76f8-4770-bfc6-b1fea5b8c408@b40g2000prf.googlegroups.co
m>,
RetroMIDI <murray.r.3@gmail.com> wrote:

> I notice that the <p> tag does not always allow the same amount of
> space. Some websites have about half a line only. When I check their
> code, they have used just <p>. On other occasions it seems that <p>
> has left not just one line of space as per the current font size, but
> as much as 20 or 30 pixels.
>
> Can someone please explain to me how to control what <p> does in terms
> of space after a paragraph using a CSS.

You can control this by setting your own margin and padding on
paragraphs instead of letting the individual browsers set their
own styles. Need an example?

--
dorayme

 

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

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