note 17898 added to function.wordwrap

From: Date: Tue, 01 Jan 2002 20:18:41 +0000
Subject: note 17898 added to function.wordwrap
Groups: php.notes 
Request: Send a blank email to php-notes+get-24035@lists.php.net to get a copy of this message
If you're having problems with a small fixed width table/table cell being stretched by people typing entering long text (such as a URL or an email address), then one (MSIE only, unfortunately) solution is to use style="table-layout:fixed" in the <table> tag. This will break any words that would normally expand your table and mess up your layout. wordwrap() can't help in this situation because you want to wrap if the text is wider than X pixels, rather than X characters, which of course PHP has know way of knowing. -- http://www.php.net/manual/en/function.wordwrap.php http://master.php.net/manage/user-notes.php?action=edit+17898 http://master.php.net/manage/user-notes.php?action=delete+17898 http://master.php.net/manage/user-notes.php?action=reject+17898

« previous php.notes (#24035) next »