You are here: Re: word wrapping with white spaces « HTML « IT news, forums, messages
Re: word wrapping with white spaces

Posted by Jim Moe on 07/02/06 23:15

himanshupoddar@gmail.com wrote:
> i hv made a table and it gets data from my database, and has used word
> wrapping so that table column remain in fixed size. it works well till
> my data doesnt hv spaces in it but when spaces included the size of the
> column expands, i dont want to trim the size of the data itself becoz i
> want uses to see whole of the data in tooltip.
>
Do this:
<td><div style="overflow:hidden">datatatatatata</div></td>

"overflow:auto" adds a horizontal scroll bar, which not be what you want.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

 

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

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