2005/10/23, russ - maxdesign <[EMAIL PROTECTED]>: <...> > Inline elements [1] and anonymous inline boxes [2] cannot be placed directly > inside the body, form or blockquote elements when using a strict Doctype. > They must be wrapped in a block level element. <...>> > [1] http://www.w3.org/TR/REC-CSS2/visuren.html#q7 > [2] http://www.w3.org/TR/REC-CSS2/visuren.html#anonymous <...>
I'd say to lookup information for what can go where one should look at the corresponding DTD, in this case: http://www.w3.org/TR/html401/sgml/dtd.html which says: <!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body --> (%block;|SCRIPT)+ +(INS|DEL) lists allowed elements. Plus sign at the end means that BODY must contain at least one block level or SCRIPT element. %block; entity expands to: <!ENTITY % block "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT | BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS"> %heading;: <!ENTITY % heading "H1|H2|H3|H4|H5|H6"> %list;:<!ENTITY % list "UL | OL"> %preformatted; <!ENTITY % preformatted "PRE"> Add there INS and DEL which may occur (plus sign in front) and you have list what is allowed in BODY. More info about how to read DTD: http://www.w3.org/TR/REC-html40/intro/sgmltut.html http://www.w3schools.com/dtd/default.asp http://www.alistapart.com/stories/readspec http://www.autisticcuckoo.net/archive.php?id=2005/05/01/art-of-reading-dtd Regards, Rimantas -- http://rimantas.com/ ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************