One reason my stuff usually fails is due to empty elements. For example:
<div class="clear"></div>
in order to clear a float or something. There are better ways to do this but nothing is more convenient than riddling your markup with non-semantic garbage. If your website renders as expected in all major browsers, I say don't worry about it.
Also, if it renders like crap in IEX, don't worry about it. IE users are used to a horrible experience online. They see broken websites all the time and just assume their computer has a virus. And it probably does. It's just not causing their poor web experience.
Because it renders acceptably in common browsers, and that's what actual users care about. If a website does not validate, only an extremely tiny subset of users who test websites in validators is going to care about it.
Google's home page is now huge with the javascript and Google+ additions - but it used to send invalid HTML missing end tags on purpose. Browsers still render unclosed tags when reaching the end of the response, and therefore they could send a smaller, faster HTML page by leaving off closing tags.
6 comments
[ 4.5 ms ] story [ 25.6 ms ] threadWith me, as long as it works, I don't care.
Also, if it renders like crap in IEX, don't worry about it. IE users are used to a horrible experience online. They see broken websites all the time and just assume their computer has a virus. And it probably does. It's just not causing their poor web experience.
Google's home page is now huge with the javascript and Google+ additions - but it used to send invalid HTML missing end tags on purpose. Browsers still render unclosed tags when reaching the end of the response, and therefore they could send a smaller, faster HTML page by leaving off closing tags.