View Full Version : In <TD> certain length/max length then force <BR>
ismailc
11-05-2008, 02:14 PM
Hi, I need help please.
In <TD> certain length/max length then force <BR>
I would like within a <TD> to allow certain amount of char and then force a <br>.
Is this possible, Please Assist!
Regards
boogyman
11-05-2008, 03:38 PM
are you talking about a certain number of actual characters, or are you talking about a pixel dimension?
data cells (<td>) do not have user input ability. If you are trying to limit any type of user input, it would be better done through the <input> or the <textarea> provided the input is being displayed within a form.
you can hard code in a break <br> before the end of the data cell, however a more efficient way of obtaining the same result would be to apply a bottom margin to the data cell <td style="margin-bottom: Npx">
ismailc
11-05-2008, 06:40 PM
Hi, I guess what I'm looking for is text wrap or word wrap.
I have 2 columns with one being string build on user selection and the second column an image. When the string is long the column increases over the image. I want to text wrap/word wrap so that the text goes to a new line <br> - even a certain amount of char then <br>
Thank you for taking time to help!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.