S
SLH
Justin Piper said:It's a bletcherous hack of a solution, but no more so than any
alternative I can think of. You could just clip long words using
overflow: hidden, but that would hide information the visitor needs. You
can, as the OP notes, cause IE to break long words at arbitrary points,
but only IE.
You could simply allow long words to extend past the edge of the content
area. This would be the solution I would normally favor, however it is
not appropriate in all situations, as it requires that there be no other
content to the right that would be obscured. Also, special consideration
must be given to IE to avoid excessive horizontal scrolling, as it will
expand the entire content area to contain the unwrappable word.
I suppose something could conceivably be done using client-side script.
That could potentially be pretty slick, but it leaves the taste of
over-engineering in my mouth. Is there another option I've neglected?
im going to go with clipping long text. as i see it, any line that is so
long it cant be displayed properly is just an attempt to screw up my layout
or database anyway. so why worry about displaying it properly?