in reply to Wordwrap text

Fix the width of the table column, and the text will wrap instead of automatically expanding. Try the htmlcompendium.

Replies are listed 'Best First'.
Re: Re: Wordwrap text
by bastard (Hermit) on Jul 27, 2001 at 00:19 UTC
    This works only for text that contains certain characters. (Whitespace, -, and probably a few others) I'll call these breakable characters. (certain browsers may break without these characters anyway, but i've seen many that don't).

    The Chatterbox to the right uses the approach of forcing a space every x characters, probably every x characters after the last breakable character. This will then let the previously mentioned specification of table widths work.

Re: Re: Wordwrap text
by dragonchild (Archbishop) on Jul 27, 2001 at 00:08 UTC
    Or, just read the neat, handy-dandy-doody documentation that comes with CGI, as it explains how to do that.