A
AndrewF
Hi there,
I have racked my brains for days on this and can't seem to find a
solution.
I have a form which is dynamically creating some text boxes on it. The
text boxes are single line ones.
At the moment I am creating them and not specifying either width or
column size, preferring to use CSS to style them so the designers can
do it rather than digging through code.
So we have set the fields to be 80% of the page width and it works
absolutely fine when the text in the text fields are empty or less than
80% of the page width.
What happens when the text is longer than that though is that the page
is created to be the width of the text that would be in the text field
if it were all on one line and then the text field is scaled back to
80% of that.
So on particularly long entries it could double the screen width.
Generally it would be a case of putting in a text box which is
multiline but by and large it isn't necessary other than on a few odd
entries where they are entering more text.
Does anyone have any idea why this is happening?
Cheers
AndrewF
I have racked my brains for days on this and can't seem to find a
solution.
I have a form which is dynamically creating some text boxes on it. The
text boxes are single line ones.
At the moment I am creating them and not specifying either width or
column size, preferring to use CSS to style them so the designers can
do it rather than digging through code.
So we have set the fields to be 80% of the page width and it works
absolutely fine when the text in the text fields are empty or less than
80% of the page width.
What happens when the text is longer than that though is that the page
is created to be the width of the text that would be in the text field
if it were all on one line and then the text field is scaled back to
80% of that.
So on particularly long entries it could double the screen width.
Generally it would be a case of putting in a text box which is
multiline but by and large it isn't necessary other than on a few odd
entries where they are entering more text.
Does anyone have any idea why this is happening?
Cheers
AndrewF