Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent word wrap between caption and field
Message
De
06/06/2003 18:46:21
 
 
À
06/06/2003 18:30:51
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00797512
Message ID:
00797525
Vues:
17
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform