|  | 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] |