| Posted by Lauri Raittila on 06/25/05 19:59 
in alt.html, goofire@gmail.com wrote:
 > Because the line is continuous with no spaces, the browser won't wrap
 > the text.  My goal is to have the text wrap according to the size of
 > the browser window.
 >
 > Anyone know how to do this?  Thanks!
 
 CSS: white-space:pre-line;
 http://www.w3.org/TR/CSS21/text.html#white-space-prop
 
 For IE, word-wrap:break-word might work.
 
 Don't know much about support.
 
 And then there is of course <wbr>. More:
 http://www.cs.tut.fi/~jkorpela/html/nobr.html#suggest
 
 --
 Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
 Utrecht, NL.
 Support me, buy Opera:
 https://secure.bmtmicro.com/opera/buy-opera.html?AID=882173
 [Back to original message] |