Without seeing the installation it would be hard to say for sure. However, it is unlikely that just going live would change the layout of the page. And it's likely that you have some width set for something that is causing the text to wrap. I'd guess it's the width of the gallerycontainer div. But it could be a parent element of that div. Or something else - as I say, hard to tell without seeing the page.
If you need more help, put the page up live somewhere, just as a test page if you like, and post a link to it.
Please post a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks