>>>>It it possible that caption and its following field are kept always together,
>>>
>>>The only way, at least one, I know of is to layout this in a table. So, you'll be able to fix the layout in any way you wish.
>>
>>I want the form to be resized into browser window for any
>>window width.
>>
>>If I put my fields to table this means to use
<tr>
tags.
>>Unfortunately, in this case, the word wrap is
>>not performed at all. So i cannot use the
<TR>
and this
>>means that I cannot use the table.
>>I'm using IE only maybe there is some IE specific solution?
>
>It takes much more than TR tag to define a form in a table. :) Try TABLE, TR and TD. Basically, try view source from a message here. We use that a lot for alignments.
I tried the following code:
<table><tr>
<td nowrap>Label <input type=text size=50></td>
<td nowrap>
LongerLabel <input type=text size=10></td></tr>
</table>
Unfortunately, if window is narrow, LongerLaber disappears:
second label/field is not wrapped to new line.
Any idea how to cause second label/field to go to new line ?
Andrus