Jump to content

errors in html and css in prestashop


Recommended Posts

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

Link to comment
Share on other sites

×
×
  • Create New...