in reply to Re^2: A call to keyboards: Better chatterbox wrapping
in thread A call to keyboards: Better chatterbox wrapping

Even simpler: just insert into long words. The browser will wrap there, but copy-paste will retrieve the text verbatim. That'll work on every browser in every circumstance.

Oh, wow. That sounds like a more useful alternative than the space thing. Too bad it still requires the ugly hack. Still, much better than insterting spaces indeed. Wouldn't <b></b> be better, bandwidth-wise? It's an inline level tag, like span.

It'd be great if all browsers really understood XHTML as XML, because then you could just use <span/> or <b/>.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re^4: A call to keyboards: Better chatterbox wrapping
by Aristotle (Chancellor) on Jan 10, 2005 at 22:24 UTC

    Didn't think of those, since I never use <b> or <i>. But semantically they're as void as <span>, so why not.

    Makeshifts last the longest.

      Why would a browser wrap at <b></b> ?? Neither IE nor FireFox do that for me. I'd be quite surprised at a browser that did such. They don't fold a <span></span> either.

      - tye        

        Right, <b> might be special-cased because it can reasonably be assumed to occur in the middle of words. But <span> does get wrapped here (Firefox 1.0) and I remember using that ages ago in IE-land too.

        Interestingly, Opera doesn't behave as assumed either… guess I extrapolated from too few data points. :-/

        Makeshifts last the longest.