Hi perl_lover, i want it to be wrapped. TedPride, that't an idea i'll try.
**update**
Ok, TedPride, that solved the problem! i now insert the tag on every n'th position of the string. This works perfect. Thanks! (i did not know this html-tag). (at least for the html portion...) Now only for the latex stuff, i really am curious on how to solve this, i'm certin there has to be a way.
It isn't an HTML tag. It is a non-standard extension and won't work in Opera or Safari (or, presumably Konqueror). Gecko (since Mozilla 1.6) and IE do implement it though.