What I do is wrap it in a div tag with the overflow attribute: <div style="overflow-x:auto; width:500px">
It works like this:
ThisIsReallyLongText_ThereAreNoSpaces_ItActsLikePRE_ThisIsReallyLongText_ThereAreNoSpaces_ItActsLikePRE_ThisIsReallyLongText_ThereAreNoSpaces_ItActsLikePRE_ThisIsReallyLongText_ThereAreNoSpaces_ItActsLikePRE_
A horizontal scroll will automatically be added in Internet Explorer. In Firefox, the text will just overflow out of its container. However, I believe this is a bug which is expected to be fixed in the next release.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Online 13,646 posts
since Feb 2002