This topic is locked

Wrap Text

7/30/2010 7:31:02 PM
ASPRunnerPro General questions
J
Jay123 author

Hi!
I have a textbox (Field1) on the Add Page that pulls data from the database. I would like to ask how can I make that data get wrapped on the textbox.
I believe it can be done using java script code using something like this:

document.getElementById("display_value_Field1").*****
I have set the textbox (Field1) to have a width and height as:

document.getElementById("display_value_Field1").width=400;

document.getElementById("display_value_Field1").height=70;
Thanks,

Jay

J
Jane 8/3/2010

Hi,
unfortunately ASPRunnerPro do not support to change values selected from anoher table (using 'lookup wizard').

J
Jay123 author 8/3/2010

Hi Jane,
Thanks for the reply.
Is there a way to change the textbox property or characteristic in CSS? I was able to manipulate some of the textbox properties (ie. border, text colour, etc.) under INPUT but when I tried white-space (all available behavior), nothing worked to make the text wrapped.
Thanks,

Jay

J
Jane 8/5/2010

Hi,
you can add CSS property in the generated include/style.css file for any controls (textarea, p, input, etc).

Here a helpful article:

http://www.w3schools.com/css/pr_text_white-space.asp