kidsgownsnrobes Posted June 20, 2011 Share Posted June 20, 2011 Himy prestashop pages are showing html/css code errors and so do not validate in wc3 - is there anyway to fix this?http://www.kgnr.co.uk Link to comment Share on other sites More sharing options...
shokinro Posted June 21, 2011 Share Posted June 21, 2011 I think it is better that you describe more detail of your issue and show the error message here.so that someone can help you Link to comment Share on other sites More sharing options...
kidsgownsnrobes Posted June 21, 2011 Author Share Posted June 21, 2011 It's just not acceptable when you test it at http://validator.w3.org/ so wondered if there is any way that I can edit the html and css has problems as well but won't show all here. html problems for homepage http://www.kgnr.co.uk shown below, but there are similar problems on all page:Validation Output: 8 Errors Error Line 52, Column 92: document type does not allow element "span" here …okmarkLink('http://www.kgnr.co.uk/', 'KGNR', 'bookmark');[removed] ✉ The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). Error Line 104, Column 45: document type does not allow element "div" here; assuming missing "li" start-tag ✉ Error Line 105, Column 30: document type does not allow element "li" here; missing one of "ul", "ol" start-tag" or "", "", or ""). Error Line 106, Column 25: document type does not allow element "li" here; missing one of "ul", "ol" start-tag ✉ 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 "" or " ") inside an inline element (such as " Link to comment Share on other sites More sharing options...
Recommended Posts