Well, I figured out a workaround by putting all the inline content into iframes. Not ideal, but I can't be bothered to find out what is causing it. Still, I am really stumped how the same browser can be displaying an exact copy of the content one way on one server, and differently on another. Never seen it before and it certainly seems contrary to everything I know about client-side scripting.
Oh well.