You are here: Adding "soft-hyphen" « PHP Programming Language « IT news, forums, messages
Adding "soft-hyphen"

Posted by Mark on 11/22/01 11:26

My PHP script builds a table that is too wide to fit on the paper. Two
of the columns contain strings that are more lengthy than data in the
other columns.

I can get the table to fit by letting the browser break the lengthy
strings across two or more lines, thus allowing the column to get
skinnier. I do this by inserting spaces in various places in the
string. But this is not a desirable solution as it would mislead the
user into thinking the string contains spaces when it doesn't.

Is there an invisible character code I can insert into the string that
tells the browser that it is allowed to line-wrap the string at this
place, if needed? Popular word processors have a feature like this
called "soft hyphens" or "soft breaks", etc.

Mark

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация