Validator Problems

niallainsworth

New Member
Messages
4
Reaction score
0
Points
0
I'm trying to validate my website with the w3 validator but it keeps showing these errors:
WIDTH, did you mean "width"
ALIGN, did you mean"align" and
BGCOLOR, did you mean "bgcolor".

But i don't have any capital words in my html, whats the problem?

site @ http://pineappleapple.exofire.net
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
This is your real validation:

http://validator.w3.org/check?verbose=1&uri=http://pineappleapple.exofire.net/

7 errors. Usually when it says something isn't a valid attribute, it means it doesn't exist in the Doctype Declaration you've made (in your case HTML 4.01 strict.

Secondly, you're using tables, which from a design standpoint is acceptable - but there are much more efficient and cleaner ways to do layouts without using tables. In the new age, like the next two years, tables will become useless for layouts, as css3 and HTML5 comes out. Tables should be used for tabular data, and nothing else.

Also, html 4.01 is an okay doctype to use, but again, the standard for most designs is XHTML 1.1 Strict

You'll have to change your site a lot to comply with this doctype.

http://validator.w3.org/check?uri=h...up=0&verbose=1&user-agent=W3C_Validator/1.654 (93 errors, lots of warnings) etc.

As for the invalid attributes, using the html 4.01 transitional doctype clears up all but one error, which might be fixed by moving

Code:
align="center"
to the end, or by defining the class to have the margin property

Code:
margin: 0 auto;

which usually centers elements.
 
Top