Hi everyone,
I am trying to re-write my site using CSS, but I am getting some errors when I try to validate it - been looking at all the possibilities but seeing as I have only been learning CSS for a couple of weeks I am struggling so thought I would seek some professional help!
My test page I created is -
http://www.dvd-and-media.com/dvd-tem...other+DCP-115C
it is dependant on the follwing files -
http://www.dvd-and-media.com/dvd-sy.css MY STYLE SHEET
http://www.dvd-and-media.com/ink-cartridges.php THE PRODUCT INSERTION
The errors I currently have are -
Validation Output: 4 Errors
1. Error Line 69, Column 205: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
…userid" type="hidden" value="5177736">
✉
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>").
2. Error Line 70, Column 93: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
…d-and-media.com/cartridges_index.php">
✉
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>").
3. Error Line 72, Column 28: end tag for "TABLE" which is not finished.
<table> </table></form></div>
✉
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
4. Error Line 121, Column 5: end tag for element "DIV" which is not open.
</div>
✉
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry.
Any help as to where I am going wrong would be much appreciated.