2 validation errors on all product pages
Hello all,
Getting 2 validation errors on my product pages and at a bit of a loss how to solve these. Any help appreciated. Validation Output: 2 Errors Error Line 310, Column 9: end tag for "tr" which is not finished </tr> 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 require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on. Error Line 343, Column 15: end tag for "tr" which is not finished </tr> 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 require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on. ********* <table cellspacing="0" class="product-properties" summary="Description"> <tr> </tr> ********** LINE 310 ********* ********* <table class="save_table"> <tr> <td valign="top"> <div> <span class="product-price-value"><span class="currency">£<span id="product_price">5.99</span></span></span> <span class="product-market-price"></span> </div> </td> </tr> <tr> </tr> *********** LINE 343 </table> </td> </tr> <tr> <td colspan="3"><div id="wl-prices" style="display: none;"> ********* |
Re: 2 validation errors on all product pages
Yes, I see the errors on your product page. The table rows <tr> are started and closed </tr> but there is no columns <td></td> inside.
Take a look at the template that controls this page.customer/main/product_details.tpl I see in the original templates you may have removed the sku number from the page: Code:
<tr> You need to also remove the <tr></tr> tags. |
Re: 2 validation errors on all product pages
Thanks for that. Still 1 error though line 341.
There are 14 pairs of <tr></tr> in product_details.tpl, so its coming from somewhere else methinks?? Quote:
|
Re: 2 validation errors on all product pages
Same template, I think you removed the product notifications and left the <tr></tr>
Original code: Code:
<tr> I would search for <tr> in the template and look for one that has no <td>. Look around line 100. I'm really just shooting in the dark though. :-) |
Re: 2 validation errors on all product pages
I looked at that so tried with an original file, the same 1 error.
Thanks for your help[ though - much appreciated. |
All times are GMT -8. The time now is 10:54 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.