You are here: Re: Problem with "table" inside "p" « HTML « IT news, forums, messages
Re: Problem with "table" inside "p"

Posted by Michael Fesser on 09/05/07 14:18

..oO(sevillad)

>I've put a couple of tables inside a "p" element

Invalid markup. A paragraph can't contain anything but inline elements.

>and I get an
>unexpected space between the line before the table and the table
>itself. I added a black border around the "p" and I'm surprised to see
>(in FF2) that the table isn't included!

Correct. The browser will implicitly close the paragraph (whose end tag
is optional), before starting the table. You'll also get a validator
warning about an "end tag for element "P" which is not open".

Micha

 

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

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