PDA

View Full Version : Not valid code


william wm
10-13-2004, 08:31 AM
I tried the "Valid XHTML" and "Valid CSS"-links. I get the following errors:

XHTML:

This page is not Valid XHTML 1.0 Transitional!

Below are the results of attempting to parse this document with an SGML parser.

1.

Line 273, column 20: element "SITE_HORIZONTAL_CAL" undefined

<SITE_HORIZONTAL_CAL>

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), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).


2.

Line 274, column 5: end tag for "SITE_HORIZONTAL_CAL" omitted, but OMITTAG NO was specified

</div>

You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".


3.

Line 273, column 0: start tag was here

<SITE_HORIZONTAL_CAL>


CSS:

Please, validate your XML document first!

Line 274

Column 3

The element type "SITE_HORIZONTAL_CAL" must be terminated by the matching end-tag "".

pixelpunk
10-13-2004, 08:35 AM
It's showcase templates. That is a custom tag if you want to use the horizontal calendar on your page. If you don't want to use it remove the tag and voilą - xhtml and css validated correct.

cheers // pixelpunk

Edit: and now I have fixed that in the demo...