String Display

Results 1 to 2 of 2

Thread: String Display

  1. #1
    Rizwan Somji Guest

    Default String Display

    Hi,<BR><BR>I have a problem with the display in my app. I grab a string from the db... it could potentially be unlimited in the number of characters WITHOUT spaces. If i display this in an html table it will extend the column for that entire width. I need to parse the string and split it up with spaces if it exceeds a certain lenght, remembering that there may be other words in that string. Can someone help!!!<BR><BR>Riz

  2. #2
    Join Date
    Dec 1969

    Default Why not just limit column size?

    If you do that, then HTML will automatically "wrap" the text for you. Just &#060;TD Width=100&#062; or whatever. (Or, better, &#060;TD Width="22%"&#062; ... using percentages allows the HTML layout system to better adjust to varying window sizes.)<BR><BR>

Posting Permissions

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