View Full Version : W3 MarkUp Validation Service
legwon
01-23-2003, 03:27 PM
why o why does it tell me that my code is not validated??
Below are the results of attempting to parse this document with an SGML parser.
Line 40, column 55: there is no attribute "BORDERCOLOR" (explain...).
<TABLE align="Center" border="2" BorderColor="#0000FF" width="100%">
40: <TABLE align="Center" border="2" BorderColor="#0000FF" width="100%">
EDIT: this is just basic html :)
ByteWizard
01-23-2003, 05:53 PM
I am not sure what validator you used, but a few things to check:
- TABLE should be table (lower case)
- I assume there is an end for the table i.e. </table>
- The explain comment is not actually an error, but an explanation as to why you received the previous error
HTH
Looks like bordercolor is not a valid attribute then. You should use CSS for style anyway.
legwon
01-24-2003, 02:51 PM
i used the 4.01 HTML validation.
i made all my tage to small letters and still didnt work.
i tried loking into css but i cant find a setup for what im using it as. :grrrr:
its an actual TABLE. its not a page layout.
http://www.mwg.mw-gaming.com/legwon/cons.htm
http://www.mwg.mw-gaming.com/legwon/Mytrucks.htm
http://www.mwg.mw-gaming.com/legwon/util.htm
these are the pages. all 3 came up with te same error.
i made all my tage to small letters and still didnt work.
Like I said, bordercolor is not a valid attribute.
legwon
01-24-2003, 03:16 PM
Like I said, bordercolor is not a valid attribute.
i kinda realized that :rolleyes:
i also said :i tried loking into css but i cant find a setup for what im using it as.
its an actual TABLE. its not a page layout.
BigTony
01-27-2003, 03:20 PM
This error is why I have re-written my site with css (because I would rather have valid site!).
But, I think that the bordercolor attribute is IE specific.
So, I would just give it a class and add a css declaration that specifies the color.
HTH,
Tony
ByteWizard
01-28-2003, 05:04 AM
Your reading assignment for today (http://www.westciv.com.au/style_master/academy/css_tutorial/properties/border.html#border-color)
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.