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