and I couldn't resist one more.. Source: http://net.tutsplus.com/articles/general/but-it-doesnt-validate/
GOOD article on the real value of validation..
Validation is Not…
- A game. Don’t waste time achieving a 100% score, when you know exactly what you’re doing. However, do use it to point out your mistakes.
- An all-encompassing checker. While it does test for errors, it does not point out bad practices, accessibility issues, etc.
- To be used as an excuse for not embracing the latest CSS3 techniques. The longer you say to yourself, “I’ll use this in a few years…” the further you’ll fall behind.
and here is the answer to the CSS spam code not being included in the mega menu:
http://www.zen-cart.com/showthread.php?202327-Sheffield-Blue-Template-Support-Thread&p=1199787#post1199787
The file that needs changing is /YOURSHOP/includes/templates/responsive_sheffield_blue/common/tpl_mega_menu.php
Design75:
Add this line ```php
<?php echo zen_draw_input_field('should_be_empty', '', ' size="40" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?>
> after```php
<br class="clearBoth" />
<label for="enquiry">Message<span class="required"> *</span></label>
<textarea name="enquiry" cols="40" rows="3" id="enquiry"></textarea>
and YES, this code will cause the template to fail w3c xhtml validation. This the reason why it was not included in the mega menu code. but to quote Design75:
Design75:
Ahh the autocomplete error :) That is one of those error I ignore completely, like the ones thrown at us about id's facebook uses
For those of you OBSESSED with that 100% validation score, you can use an encoding tool to encode this code which will shut the validators up.. (and for those getting ready to ask, you will need to Google encoding or start a separate thread to discuss further..)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.