News for hackers. Stuff that matters.
Re:Life of a Chinese Gold Farmer by ralph on Monday June 18, 2007 @07:55AM (#28841)
Off-topic: is there any CSS that can be added to stop long words like URLs from causing a horizontal scrollbar to appear, i.e. to force the word to be broken in two?
Re:Life of a Chinese Gold Farmer by nostrademons on Monday June 18, 2007 @05:45PM (#28997)
You can have it chop off the end of the URL with "overflow-x: hidden" and an explicit width, but the only way to have it insert a linebreak is to count characters on the server and insert a break manually.
Re:Life of a Chinese Gold Farmer by gojomo on Tuesday June 19, 2007 @05:24PM (#29294)
You can use a 'zero width space' (​)in some browsers to hint a breakable point, but it might affect C&P-ability.

Some other discussion of options here:

http://gojomo.blogspot.com/2005/03/cross-browser-invisible-word-break-in.html

Re:Life of a Chinese Gold Farmer by ralph on Wednesday June 20, 2007 @06:36AM (#29483)
Thanks, 200b is was I found too after reading the CSS 2 spec.