OK. I'm down to 23 errors and 21 warnings on my HTML validation, and those relate to the PHP script!
After I fixed some tags, the pesky extra white space disappeared. I think that there were so many little fields with so much script that my html got a little mangled. Thanks for the push in the right direction.