Re:Can You Learn To Code In One Day? We Sent A Non-Nerd To F...
by zem on Tuesday December 20, 2011 @05:06AM
(#3372890)
> Of course, another way to do it is to simply reject the input. That's the way Slashdot does it.
huh. i'm pretty sure i remembered slashdot inserting spaces to break up pagewidening text, but it's been a good many years so i could be wrong.
* Overflow that extends into the page margins (looks ugly) and either forces the browser to show a scrollbar, or forces the user to resize the window to view the full text (which may not even be possible).
* Overflow that is contained within the margins, and can only be read by use of nested scrollbars (I hate those, don't you?) or again, by resizing the window to widen the content column width (again, not always possible).
Of all the options, I think forced wrapping is the most visually pleasing. Whether that can be done with CSS I don't know. I do know that introducing spaces will do it. Other techniques may involve e.g. Unicode soft hyphen, see e.g. http://blogs.msdn.com/b/oldnewthing/archive/2011/12/13/10246...
Of course, another way to do it is to simply reject the input. That's the way Slashdot does it.