I know what you mean. I have FF-compatibility issues that I'm really dreading resolving.
I am by no means at all an expert or even intermediate when it comes to web design, especially W3C standards, compatibility, etc.
Unless we have some multi-talented PHP guru's inhouse here, you might need to turn to an actual Web Developing forum of some sort for that. I tried a quick bit of Google'ing, and there was some suggestions of using the white-space and word-wrap attributes, but I didn't have much luck with them.