Re: Adding "soft-hyphen"
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Adding "soft-hyphen"

From: Terry <tknospa@wejuggle2.com>
Date: Mon Sep 12 2005 - 14:25:06 CEST

Mark wrote:
> 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.

You must have something in your html/css that is preventing line wrap.
Default is for table text to wrap. Also check the way you have defined
table width - 90% will force the table to fit in the view size.

-- 
TK
http://www.wejuggle2.com/
Still Having a Ball
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Received on Tue Oct 18 02:22:20 2005