otuatail Posted September 15, 2009 Share Posted September 15, 2009 Hi I get an error here which should be valid. http://validator.w3.org <td width="100px">Revolt</td> Attribute "WIDTH" is not a valid attribute. Did you mean "width"? This can't be right can it. Not used capitals WIDTH Desmond. Quote Link to comment Share on other sites More sharing options...
sticks464 Posted September 15, 2009 Share Posted September 15, 2009 If you are using an html doctype then it is valid since html is not case sensitive. However if your usin an xhtml doctype then it is invalid since xhtml is case sensitive. Quote Link to comment Share on other sites More sharing options...
otuatail Posted September 15, 2009 Author Share Posted September 15, 2009 it probably is case sencitive but I am using lower case which is correct. My doc type is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Quote Link to comment Share on other sites More sharing options...
saltedm8 Posted September 15, 2009 Share Posted September 15, 2009 width inside the html or xhtml in a strict doctype is not valid ( does not matter if its html or xhtml ) unless its referring to an image or some other input media you need to do one of 2 things, either you can replace the width"100px" with style="width:100px;" or you can reference it in the css Quote Link to comment Share on other sites More sharing options...
otuatail Posted September 15, 2009 Author Share Posted September 15, 2009 Ok Thanks that makes sence. Desmond. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.