I recently switched to the new carterlake ajax/php templates and am now trying to sort out the validating of my pages by using the “Valid XHTML 1.0” validator link in the footer section of each of the pages.
to start off with…I first need to get my menubar.php vaild and when first checking I had about 10 error’s…Now I am down to 4 error’s and cant figure out what to do to make them valid. I know some of my other pages have more erros than 4 when trying to validate them, such as my index page, but for now I am just trying to first get the menubar errors sorted out and then at least some of my pages will be 100% valide with no errors, such as my forecast and astronomy pages, amongst other’s.
to first see the errors yourself you can go to my astronomy page and then at bottom click on the XHTML 1.0 Validator link, it will then show you I have 4 error’s, which I know are all within my menubar.php file for this page.
here is the lines 133-162 of my menubar file, and also the error’s I am recieving from validator page:
- Pacific line 162
errors received from validation page:
Line 133, Column 10: end tag for element “li” which is not open.
If this error occurred in a script section of your document, you should probably read this FAQ entry.
Line 162, Column 11: end tag for “ul” omitted, but OMITTAG NO was specified.
You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”.
Line 135, Column 0: start tag was here.
- Line 133, Column 11: XML Parsing Error: Opening and ending tag mismatch: div line 100 and li.
If Anyone can tell me what needs to be edited and where…I would sure apprreciate the help.