Kobra,
The first thing I see is that the date you have in the navMain div is not included in <li></li> tags.
Fix that first, then revalidate and see what happens.
Kobra,
The first thing I see is that the date you have in the navMain div is not included in <li></li> tags.
Fix that first, then revalidate and see what happens.
Clyde,
Thank you !! That reduced it from 3 down to one...great progress.
Being that you pointed out what an error was I knew what file to edit.
Still stymied as to how to view an error and determine what file generates it..
I am down to this:
As this is dynamically genreated, where can I find out how to trace these ?? I do not want to ask each time...1. Error Line 267 column 6: end tag for "div" omitted, but OMITTAG NO was specified.
</body></html>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
✉
2. Info Line 21 column 0: start tag was here.
<div id="mainWrapper">
Zen-Venom Get Bitten
Kobra,
Its saying there is an open <div> somewhere (but you know that.)
One way to track down the problem is to check the "show source" box on the validation screen.
You can then scroll through line by line. You can narrrow what you're looking for because all the "bof"/"eof" comments will show up. Using those you should be able to track down the tpl_?????.php files.
Another way would be to use admin and turn off the sideboxes and then turn them on one by one and re-validate until you find the problem.
You would also do this with the center column settings, particularly "whats new" "specials" and "featured"
Hope this helps.
Good luck
This is a follow up post:
I can not explain why this was as it turns out but tha 1 remaining validation error was corrected by editing the tpl_main_page.php file.
This entry <div id="mainWrapper"> was the cause of the error according to the w3 validator. I added a closing tag to this line and the page validated.
i.e. . . <div id="mainWrapper"></div>
Thanks go out to Clyde for his assistance![]()
Zen-Venom Get Bitten
Sometimes for debugging problems like this, Dave Raggett's tidy utility can help:
http://cgi.w3.org/cgi-bin/tidy
(use diff or diff -w against your original html to see how he fixes it.)
Good luck,
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
swguy,
Thank You!! I actually used the TIDY plugin for FireFox and found it to be GREAT!
FireFox Tidy Extention
Zen-Venom Get Bitten