You are here: Re: Wrap long URL in table « HTML « IT news, forums, messages
Re: Wrap long URL in table

Posted by Jonathan N. Little on 09/22/06 14:35

Brian Cryer wrote:
<snip>

> As an alternative, why not use the word-wrap css, for example:
>
> <p style="width: 5em; word-wrap: break-word">12345678901234567890</p>
^^^^^^^^^^^^^^^^^^^^^
word-wrap? You won't find it here

<http://www.w3.org/TR/CSS21/propidx.html>

That is an MS thingy..... If OP really wants to force breaking lines
intra-words of user input he needs to process server-side with some
function that counts characters or looks for specific character to break
on like '/' and insert BRs into the markup <= some maximum character
length within the string....

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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