as per this comment:
http://www.zen-cart.com/forum/showthread.php?p=561756
includes/templates/template_default/templates/tpl_account_default.php
Line 26
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="prevOrders">
<caption><h2><?php echo OVERVIEW_PREVIOUS_ORDERS; ?></h2></caption>
<tr class="tableHeading">
The h2 inside the caption tag is invalid XHTML.
This could be fixed by deleting the h2 tags and adding
#prevOrders caption
to the existing h2 declaration in the stylesheet, eg:
h2, #prevOrders caption {
font-size: 1.4em;
}
Or giving the caption its own id
<caption id="orderHistoryStatus"><?php echo OVERVIEW_PREVIOUS_ORDERS; ?></caption>
regards
Steve
ps. Why bother with all this validation pedantry?
Because a stock ZC site is one of the very few sites (not just shops) on the entire net that is actually 100% valid code, which is something to be proud of I think.
Bookmarks