This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Speaking of spacing, if you use the "Code" button on our message editor to wrap format tags around your xhtml, it will make things a lot more readable.
Also, it helps when giving examples to make them brief. The functional attributes that make up the bulk of your tags don't concern your problem, but they make it harder for us to see the problem.
As far as your layout issues go, I don't believe that this tag generates a span element, and if it does, I'm even less certain that you can set a padding on it. Your td style seems to have the wrong class name.
An IDE is no substitute for an Intelligent Developer.