Thanks Ben, but that wasn’t the problem. The problem is with the little bit of JavaScript (when I comment it out, it validates, but doesn’t work in IE6)
Here is the message I get when trying to validate: Below are the results of checking this document for XML <http://www.w3.org/TR/REC-xml#sec-conformance> well-formedness and validity. 1. Error Line 11 column 29: character ";" not allowed in attribute specification list. for (var i=0; i<sfEls.length; i++) { <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.bremenhospital.org%2Ftestsite%2Findex2.html;errmsg_id=81#errormsg> ✉ 2. Error Line 11 column 29: element "sfEls.length" undefined. for (var i=0; i<sfEls.length; i++) { You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by: * incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case. <http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.bremenhospital.org%2Ftestsite%2Findex2.html;errmsg_id=76#errormsg> ✉ 3. Error Line 21 column 8: end tag for "sfEls.length" omitted, but OMITTAG NO was specified. </script> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Chris Rahe Executive Director of Marketing and Development 1020 High Road - P. O. Box 8 Bremen, IN 46506 Telephone 574.546.8011 Facsimile 574.546.4312 Email - <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Dodson Sent: Thursday, April 05, 2007 2:27 PM To: [email protected] Subject: Re: [WSG] Need help with CSS breadcrumbs and navigation Hi there, The reason it's not validating is because you haven't unescaped the spaces in your URLs - replace all spaces with %20 and you should be fine :-) Ben -- e: [EMAIL PROTECTED] w: http://www.bendodson.com/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
