The site is still throwing up errors so here’s a rundown of the Home page and a Product page.
Home page: http://www.projectdisobey.com/disobeyclothing/
Errors: 1
Line 343, Column 16: end tag for element “div” which is not open
The tag in question - a stray duplicate of </div><!-- content #end –> - is the last element in the page and lies outside the html element. Remove it and the page will validate.
Also, hashes are used inappropriately in comments e.g. <!-- wrapper #end –>. # indicates an id. The standard comment format for indicating which element is being closed is <!-- #wrapper end –> (though the “end” is superfluous if the comment is next to a closing tag).
A product page: http://www.projectdisobey.com/disobeyclothing/?p=400
Errors: 16
These are mostly due to the Validator reading javascript as HTML. To prevent this, mark up script as CDATA by placing // <=!=[=C=D=A=T=A=[ after the opening script tag and // ]=]=> before the closing script tag. You’ll see that one script, beginning on line 54, already has this. i.e.
<script type="text/javascript">
// <=!=[=C=D=A=T=A=[
var vvqflashvars = {};
var vvqparams = { wmode: "opaque", allowfullscreen: "true", allowscriptaccess: "always" };
var vvqattributes = {};
var vvqexpressinstall = "http://www.projectdisobey.com/disobeyclothing/wp-content/plugins/vipers-video-quicktags/resources/expressinstall.swf";
// ]=]=>
</script>
This done, the remaining errors are…
Line 424, Column 48: required attribute “action” not specified.
Maybe your cart doesn’t need an action? To validate, you could try adding an empty attribute: action=“”.
Line 450, Column 28: document type does not allow element “style” here
<style type="text/css">
#info { width:547px !important; }
</style>
Remove the style element and put the #info rule in either an external stylesheet or the existing embedded sheet in the head.
Line 456, Column 38: document type does not allow element “span” here; assuming missing “li” start-tag
<span id=“tellafrnd_success_msg_span”></span> is inside a ul so should be within a li element i.e.
<li><span id="tellafrnd_success_msg_span"></span></li>
Line 455, Column 72: document type does not allow element “div” here; assuming missing “li” start-tag
This element is in the same ul as the span above. Again, wrap it in <li></li>
The above done, the document should validate – and hopefully still work – you did keep a copy, didn’t you? 