Hey all.
Don't know if this is the correct forum for this, but it has to do with layout so here goes.
Which is better for doctype, strict or transitional? I'm trying to use strict to keep from using deprecated code but I'm getting the following error on all my hidden fields:
Line 214, Column 53: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
<input type="hidden" name="psort" id="psort" value="">
✉
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>").
The code block is below:
HTML Code:<form name="mainForm" id="mainForm" method="POST" action=""> <input type="hidden" name="psort" id="psort" value=""> <input type="hidden" name="prowid" id="prowid" value=""> <input type="hidden" name="prevrowid" id="prevrowid" value=""> <input type="hidden" name="prevrowcolor" id="prevrowcolor" value="">









Bookmarks