Re: [WSG] page not validating as xhtml 1.0 strict - explanation?

2004-12-30 Thread Thorsten
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

[WSG] page not validating as xhtml 1.0 strict - explanation?

2004-12-29 Thread Thorsten
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

Re: [WSG] page not validating as xhtml 1.0 strict - explanation?

2004-12-29 Thread David R
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

Re: [WSG] page not validating as xhtml 1.0 strict - explanation?

2004-12-29 Thread David Laakso
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,

Re: [WSG] page not validating as xhtml 1.0 strict - explanation?

2004-12-29 Thread Lea de Groot
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

Re: [WSG] page not validating as xhtml 1.0 strict - explanation?

2004-12-29 Thread Kornel Lesinski
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