first of all, thanks to the people who replied to my help request! :^)
Lea de Groot wrote:
The p tag is a peculiar beast; it cannot contain another block element,
despite being a block element itself; it is implicitly closed when
another block element is encountered.
oh, ok, thanks for letting
hi,
the scenario: i want to place a div (containing two thumbnail images)
into text (in a paragraph) with the text flowing around the div
containing the thumbs.
the test page at
http://www.thorstenpeh.de/test/devhelp/notvalidating/index.html should
illustrate what i mean.
i have no problem
Thorsten wrote:
i know that one must put block elements inside inline elements with
xhtml 1.0 strict, but this isn't the case here? paragraphs are block
elements, as are divs.
Correction, you're not meant to put block elements inside inline, nor
can you put block elements in block-level inline
On Wed, 29 Dec 2004 12:48:17 +0100, Thorsten [EMAIL PROTECTED] wrote:
hi,
snip
Line 19, column 77: document type does not allow element div here;
missing one of object, ins, del, map, button start-tagsnip
snip
With regard *only* to validation, Tidy Online http://infohound.net/tidy/
will find,
On Wed, 29 Dec 2004 12:48:17 +0100, Thorsten wrote:
Line 19, column 77: document type does not allow element div here;
missing one of object, ins, del, map, button start-tag
The p tag is a peculiar beast; it cannot contain another block element,
despite being a block element itself; it is
i know that one must put block elements inside inline elements with
xhtml 1.0 strict, but this isn't the case here? paragraphs are block
elements, as are divs.
You got this other way round.
It's: inline content inside block.
p can go inside div, but div in p cannot.
p must have inline