This the unicode for space \u00A0, so maybe: $("#tagcloud").append(newTag).append("\u00A0");
document.write('ben\u00A0sterling'); gives me ben sterling, so I can only assume the above would work. On 9/13/07, Stephan Beal <[EMAIL PROTECTED]> wrote: > > > On Sep 13, 7:16 am, mrsheep <[EMAIL PROTECTED]> wrote: > > yes, i tried that but i need to have "breakable" spaces so that the > > text jumps to the next line if there is no enough horizontal space in > > the div. > > This is a shot in the dark, but have you tried using multiple spaces? > It might be that the browser engine then collapses those into a single > space. Another kludge might be to use \n instead of a pure space. As a > rule, browsers will collapse runs of whitespace to a single space when > rendering HTML, but i've never heard of a browser collapsing a single > whitespace into nothing (but hey... it's MSIE...). > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com