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 achieving the desired effect (by placing the <div> inside the desired paragraph and floating the <div> right), but i don't understand why it doesn't validate.
this is what the W3C-validator returns:
"Line 19, column 77: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag"
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 <div>s.
help's appreciated!
-- Thorsten ****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
