I'm not doing too bad with a site I'm working on at the moment. I validate as I go and manage to keep on top of things. Then I added a PayPal button. It has added a gazillion HTML errors in the validator most of which look like a heap of code spaghetti. None of them are breaking my site but things like, "Attribute border not allowed on element input at this point" are really annoying.
I guess the answer is to just ignore them but I wonder what the general rule is in this scenario?
It's HTML5 Doctype
Message was edited by: martcol
Is there some compelling reason for using HTML5?
It's well known that PayPal code doesn't validate in XHTML 1.1 strict documents types probably for the same reasons it doesn't validate in HTML5.
One solution is to modify the code:
Or, if it ain't broke, don't fix it.
The compelling reason that it is HTML5 is that I'm using The Bootstrap Theme as a starting place.
I will see if I can fiddle with the code around the button but I have a feeling that the button itself is calling that in.
Thanks for the link