Reply to Re: Dreamweaver or Frontpage or Plain HTML

Your name:

Reply:


Posted by Jonathan N. Little on 01/15/06 03:06

kchayka wrote:
> GreyWyvern wrote:
>
>>>>According to the spec, empty <p></p> tags should be ignored completely.
>>
>>"We discourage authors from using empty P elements. User agents should
>>ignore empty P elements."
>> - http://www.w3.org/TR/html401/struct/text.html#h-9.3.1
>
>
> FYI, "user agents *should*..." only makes it desirable behavior, not
> required.
>

If you think about it <p></p> structurally make no sense, a paragraph
with *no* words. But we all know why it is usually is done, the author
wants more space above another block, which is a *style* issue. Should
be done

..moreheadroom { margin-top: 3em; }

<p>Some bit of info, blah blah blah...</p>
<p class="moreheadroom">Ah! Now that is better...</p>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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