Fixed html validation issues. closes #1343.
Merge pull request #1345 from rojblake/theme_fix

Fixed html validation issues. closes #1343.