3 Replies Latest reply: Jul 3, 2014 4:04 AM by Mike Connolly RSS

    W3C Validator Errors

    JordSTi Community Member

      Hi all,

       

      I'm going through my website code and trying to fix any validation errors that are being flagged. See the following:

       

      http://validator.w3.org/check?uri=http%3A%2F%2Fwww.whsfirstaidkits.com.au%2F&charset=%28de tect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fv alidator.w3.org%2Fservices

       

      It is for the website http://www.whsfirstaidkits.com.au

       

      The 4 errors relate to the shopping cart summary module that I have within my code. I am using the following: <div class="shopping-cart">{module_shoppingcartsummary,horizontal}</div> and BC converts that to: <div class="shopping-cart"><span id="catCartSummary" quote="False" vertical="False"><table cellspacing="0"  class="cartSummaryTable"><tr><td class="cartSummaryItem">Shopping cart is empty.</td></tr></table></span></div>

       

      Now the validator says that it is producing the following errors:

       

      Attribute quote not allowed on element span at this point.

      Attribute vertical not allowed on element span at this point.

      Element table not allowed as child of element span in this context. (Suppressing further errors from this subtree.)

      The cellspacing attribute on the table element is obsolete. Use CSS instead.

       

      Since BC generates this code automatically, is there a way to fix this?

       

      Cheers,

      Jordan