Reply to Re: Problem with "table" inside "p"

Your name:

Reply:


Posted by Martin Jay on 09/05/07 23:30

On Wed, 05 Sep 2007 14:09:47 -0000, sevillad <sevillad@gmail.com>
wrote:
>I've put a couple of tables inside a "p" element, 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! If I switch to IE6 it works
>well. Why would this be? The test page is in
>
>www.davidsevilla.com/test1.html

Tables should not be put inside paragraphs, so your markup is invalid.

Presumably, Firefox is automatically closing the <p> block element
when the new table element begins. This is expected behaviour, and as
I understand it, this is correct.

On the other hand IE6 makes a wrong guess, which just happens to
coincide with what you want.
--
Martin Jay

[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

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