...

View Full Version : Too Much Characters....



GSimpson
10-05-2006, 04:58 AM
Ok So Me And A Friend Are Building A E-Mail Client that only sends to our network.

anyways when it reads from the table, how do I make it so that the overflow for my css TD will be '...'

long captio...

is what im trying to do but doesnt seem to have an easy way to do it.

Thanks a million.

rmedek
10-05-2006, 06:32 AM
Not with HTML or CSS. I'd use whatever server-side scripting you're using to pull the data out of the table to count the characters and insert the ellipses.

GSimpson
10-05-2006, 08:19 AM
so would i go to my PHP and then use a function to get from the MYSQL, display for example 70 characters then ... if it is longer than 70?

Thanks a million

mark87
10-05-2006, 08:25 AM
Yup, something like:

http://php.snippetdb.com/view.php?ID=59



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum