Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2005
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to Make Table with Unknown Length String Fit In a Fixed Size Area?

    Hi,
    I have a table in a fixed sized area. The table will hold unknown # of strings with unknown length. It doesn't have corresponding row and column headers. So it doesn't matter if the string shift from column 1 to whatever column, or from row 2 to whatever row, as long as it looks like a table.

    How do I do it? I am using php.
    Many thanks.

  • #2
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It would help to see your HTML/CSS which I why you probably haven't got a response until now.

    Giving the string the 'word-wrap: break-word' declaration/property in CSS would force the string to be broken and placed onto a new line (although I have a feeling this is IE only?).


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •