Forum Moderators: open
I solved most of the errors, but can not figure this one out:
The site is:
< sorry, no personal urls >
The error I am getting is:
Line 40, Column 7: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<div>
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
[edited by: tedster at 3:01 am (utc) on June 3, 2009]
Thanks for any advise you can give!
Welcome aboard acompressor, first is see #13 of TOS [webmasterworld.com]
You have the div nested inside a span element. Spans are inline elements and a div cannot nest inside it.
I have almost all the errors solved.
The major problem I am having is with my paypal script, which i copied and pasted directly to my page:
Error Line 198, Column 94: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag
…al.com/cgi-bin/webscr" method="post">
Any suggestions?
If you have, for example: <p><form></form></p> that will not validate. However, this will: <form><p></p></form>
<added>
I was still typing while you posted, apparently. Glad you resolved it.