Page 1 of 1
XHTML Validation Failure
Posted: Sat May 12, 2007 10:03 am
by asim
Hi,
After putting my site live I have found that it has about 53 XHTML Errors. I fixed some of the more simple ones, however I'm having great trouble fixing the ones that involve my tags used on my menu, as you'll see in the validation check below. I was wondering if there was anyone out there who could lend a helping hand in fixing and making my site XHTML valid.
Here is the site:
http://www.jenniemarshtrust.org
Here is the XHTML Validation page:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.jenniemarshtrust.org%2F&charset=%28detect+automatically%29&doctype=Inline
Thank you!
Re: XHTML Validation Failure
Posted: Sat May 12, 2007 10:47 am
by tsw
It seems that your menu li's miss
what menu template are you using
Re: XHTML Validation Failure
Posted: Sat May 12, 2007 7:27 pm
by asim
Hi,
I'm using the template: cssmenu.tpl
Yes I thought as much, I tried adding closing TAGS, but I only broke the menu, so I returned to my default version of cssmenu.tpl. I don't understand why the validation should fail on the menu as I never made any changes to the cssmenu.tpl template originally, I only styled my CSS to get the menu/nav looking as it does.
I'm at a dead-end here, so any light on how to resolve this issue would exteremely welcomed.
Thank you.
Re: XHTML Validation Failure
Posted: Sun May 13, 2007 8:09 am
by tsw
probably your cssmenu.tpl is broken for some reason.
get the default menu to fix the validation issue and then check that your css is correct for that menu.
Re: XHTML Validation Failure
Posted: Sun May 13, 2007 10:00 am
by asim
Hi TSW,
Apologies, but I seem not to be understanding what could be possibly going wrong. In my Menu Manager I have one "Database Template" which is called "cssmenu.tpl" this is the default template I have not made a single change to this. In my Layout Templates I'm calling:
Code: Select all
<!-- Start Navigation -->
<div id="sidebar">
<h2 class="accessibility">Navigation</h2>
{menu template='cssmenu.tpl'}
<hr class="accessibility" />
</div>
<!-- End Navigation -->
So this tells me that the menu template being called is "cssmenu.tpl" - which I have not made any changes to. So I'm not understanding what I should be correcting or fixing.
I'm pretty new to PHP and CMSMS in general, so I'd appreciate your help, step by step if possible
Thank you
SOLVED: XHTML Validation Failure
Posted: Sun May 13, 2007 1:23 pm
by asim
Hi,
I have no idea why this occured in the first place, however I copied my "Menu Manger" folder from the "Modules" folder back over, from my local version to the one on my host and that seems to have corrected the problem.
Thanks
Re: XHTML Validation Failure
Posted: Mon May 14, 2007 11:41 am
by Pierre M.
Hello,
I think this is what tsw was asking for. See
http://wiki.cmsmadesimple.org/index.php/FTP_program
Files can be corrupted while expanding or transfering them.
Have fun
Pierre M.
Re: XHTML Validation Failure
Posted: Mon May 14, 2007 12:18 pm
by moorezilla
I don't know if this will help, but check to make sure your li's are nested correctly. Whenever I fire validation errors on ul's or ol's, this is usually the problem. So if you're nesting them, I'd check this.
Code: Select all
<ul>
<li>Item
<ul><li>nested item</li></ul>
</li>
</ul>