P
Perry van Kuppeveld
Hi,
I have a problem with formatting a table including text fields wich can
contain up to 255 chars.
I need a table with 3 columns:
- First column 50 % over the with a rowspan of the total number of rows.
- Second column 25 %, no rowspan
- Third column 25 %, no rowspan
In the first column / cell contains a description. The next column a
caption, and the last column a edit field.
See http://www.winit.nl/sample/1.html
This shows the right layout (Using IE 6). If a text fields has the focus,
pressing enter will submit the form.
But when the text in the fields is to big, the layout is wrong (but still,
enter = submit)
See http://www.winit.nl/sample/2.html
To solve this problem, I replaced the input type=text with a textarea with
style overflow=hidden.
Only the enter key now gives a newline instead of a submit
See http://www.winit.nl/sample/3.html
The prevent newlines in the textarea i can use some client side scripting.
See http://www.winit.nl/sample/4.html
But how to submit the form using enter, and still be able to use the event
trapping of the submit button in the aspx page?
(Or how to use a input type = text resulting in the right layout)?
Perry
I have a problem with formatting a table including text fields wich can
contain up to 255 chars.
I need a table with 3 columns:
- First column 50 % over the with a rowspan of the total number of rows.
- Second column 25 %, no rowspan
- Third column 25 %, no rowspan
In the first column / cell contains a description. The next column a
caption, and the last column a edit field.
See http://www.winit.nl/sample/1.html
This shows the right layout (Using IE 6). If a text fields has the focus,
pressing enter will submit the form.
But when the text in the fields is to big, the layout is wrong (but still,
enter = submit)
See http://www.winit.nl/sample/2.html
To solve this problem, I replaced the input type=text with a textarea with
style overflow=hidden.
Only the enter key now gives a newline instead of a submit
See http://www.winit.nl/sample/3.html
The prevent newlines in the textarea i can use some client side scripting.
See http://www.winit.nl/sample/4.html
But how to submit the form using enter, and still be able to use the event
trapping of the submit button in the aspx page?
(Or how to use a input type = text resulting in the right layout)?
Perry