PDA

View Full Version : bordercolor Attribute in XHTML 1.0 Transitional


chanoc
Nov 17, 2004, 09:20 PM
My site: chanoc.com (http://chanoc.com) has recently been converted to XHTML!!!! Wohooo!!!! :)

* Well not the whole site, just the index page. Other pages will follow! ;)

Clicking on the W3C validator, it comes up with two error messages, one says that <.....bordercolor="blue"> is not an attribute in XHTML, although my Sybex XHTML book says it is an attribute. :confused:

Any thoughts?

aus_dave
Nov 17, 2004, 09:29 PM
It's an attribute just not a valid one. It wasn't valid in HTML 4 either if I remember correctly.

You should be using CSS to style table borders.

chanoc
Nov 17, 2004, 10:38 PM
Thanks Dave. I have more work to do on my .CSS code page.

aus_dave
Nov 18, 2004, 06:25 AM
You will get there in the end, it just takes time ;).

Good on you for moving to XHTML and for taking the trouble to make sure it validates!