Jump to content
Sign in to follow this  
section31

Wordwrap On Tables

Recommended Posts

HI, is there any way to wrap some long word w/o any spaces. Lets say I make a table or css box 100 pixels wide and write something like a url (ex. http://www.blah.com/forums/index.php?&act=...=Post&blahblah) in there. Is there any way I can make the table or css box wrap that keeping the fixed width instead of expanding it?

 

 

If i'm not making any sense let me know. hehe

 

Thanks,

Dave

Share this post


Link to post
Share on other sites

Hi,

 

The tag in question is not deprecated so whilst it will work, you should find another way of doing it

 

><TD NOWRAP>

 

Jim

Share this post


Link to post
Share on other sites

Another option is to have a script that measures the number of characters in your string and then cuts off excess stuff.

 

This is great for displaying content input by users of a forum or other subscription service / online community.

 

So www.anysite.com/blah/dee/da.com becomes

www.anysite.com/bl...

 

I couldn't tell if this addresses your specific question, but it helped me compress content down and let the website visitor decide what content warranted further explanation.

Share this post


Link to post
Share on other sites
Another option is to have a script that measures the number of characters in your string and then cuts off excess stuff.

 

This is great for displaying content input by users of a forum or other subscription service / online community.

 

So www.anysite.com/blah/dee/da.com becomes

www.anysite.com/bl...

 

I couldn't tell if this addresses your specific question, but it helped me compress content down and let the website visitor decide what content warranted further explanation.

Yup, it appears I'll have to do that....

 

Thanks for the tip.

Share this post


Link to post
Share on other sites

Another way is to put a space in there so it will wrap it for you automatically, but that would mess up URL's and such.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...