This is a designed behavior ™ due to extraneous characters added by some html editors. If you look at the source view you will see a <br after every part of the html. The best way is to use notepad or a clean text editor to create the html. Then make the entire html page one long line.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.