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?
[ Parent
| on HN ]
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.
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