CFLarsen said:
Careful now. Automated syntax checkers are not always reliable. Look at the code itself.
That's all the parser attempted to do, examine the code for syntax errors. It relies on the document having the correct Doctype in order to return accurate results.
No DOCTYPE Found! Falling Back to HTML 4.01 Transitional
A DOCTYPE Declaration is mandatory for most current markup languages and without one it is impossible to reliably validate this document. I am falling back to "HTML 4.01 Transitional" and will attempt to validate the document anyway, but this is very likely to produce spurious error messages for most non-trivial documents.
The DOCTYPE Declaration in your document was not recognized. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax. Validation has been performed using a default "fallback" Document Type Definition that closely resembles HTML 4.01 Transitional, but the document will not be Valid until you have corrected the problem with the DOCTYPE Declaration.
Below are the results of attempting to parse this document with an SGML parser...
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with the HTML 4.01 Transitional DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
The parser warns you at least four times that the document does not contain a Doctype declaration.
I cannot for the life of me see where I have missed an end-tag somewhere. Perhaps you can point it out?
Lots of times a single error in one place causes additional errors in other places. I suspect this is the case here as well.
Using a p-tag inside a DIV is illegal? Since when?
Using a p-tag inside a DIV is ok, but using one inside a SPAN is a different matter. The following tags are valid within the SPAN tag: a, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var
One possible cause for this message is that you have attempted to put a block-level element (such as "p-tag" or "table-tag") inside an inline element (such as "A", "SPAN", or "FONT").
I'm guessing if the corrections are made, so that the document adheres to standards, page will render correctly.
RayG