Page Won't Validate!

  DoctorButcher 14:25 03 Nov 2004
Locked

As part of my university course, i have to design a website based on a TV programme. I have selected 'Star Trek' as my focus and have all but completed the main homepage. The page needs to be hand-coded and verified for valid HTML. We haven't been shown CSS yet, which is why i've used layer/table layouts. Unfortunately, my page won't validate :(

Here is the Error:

This page is not Valid HTML 4.01 Transitional!

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

Line 11, column 45: there is no attribute "BORDERCOLOR"

... width="100%" border="1" bordercolor="FF0000" cellpadding="0" cellspacing="..

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. 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 "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

Here is the homepage... click here

I'm probably being dense and can't see the wood for the trees, but what should the attribute be so the page will validate correctly and allow me to move on?

  hkvic 16:33 03 Nov 2004

Shouldn't the border colour be:
bordercolor="#FF0000" (note the #)

Hope this helps.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Best phone camera 2017

Stunning new film posters by Hattie Stewart, Joe Cruz & more

iPad Pro 10.5in (2017) review

28 astuces pour profiter au mieux de votre iPhone