Open GoogleCodeExporter opened 9 years ago
Apparently this is a known issue with current browsers, with no perfect
solution yet.
http://stackoverflow.com/questions/363425/how-to-wrap-long-lines-without-spaces-
in-
html
All the solutions that look good (eg Hyphenator) probably use JavaScript to
modify
the text, usually inserting invisible word breaks. Any solution like this will
affect copy-and-paste adversely.
Setting an absolute width with overflow:auto might be the best option. This
will
lead to horizontal scrolling in some cases, but it's probably better than
modifying
the text. But we would need a variety of callbacks to update the absolute
width when
required, and the calculation might not be trivial...
#post{
width: 400px;
overflow: auto;
}
Original comment by sean.flanigan@gmail.com
on 8 Apr 2010 at 5:39
Original comment by asgeirf
on 14 Jul 2010 at 5:49
Original issue reported on code.google.com by
sean.flanigan@gmail.com
on 8 Apr 2010 at 5:04Attachments: