in reply to Dynamic HTML line too long

So when the line is very long, IE seems to wrap it thus creating an unterminated string error in javascript.

How long is long? Line length doesn't matter much to IE. If you're getting unterminated strings, chances are that the problem is either in your code, or in the "long message" you're using in the onmouseover(). Perhaps that string has embedded quotes that aren't being properly escaped.

Show us one of these broken long lines, and the code that generated it.