css Voici mon codetop alignement vertical dans
<div style="margin:0;padding:0;vertical-align:text-top; border:1px solid red;float:right;">
<span>Key:</span>
<asp:TextBox ID="tbKey" MaxLength="16" runat="server" ></asp:TextBox>
<asp:ImageButton ID="btnRefresh" runat="server" imageUrl="_img/btn_submit.gif" Height="22" Width="52" />
</div>
Je voudrais que tous les trois éléments à la ligne tout simplement en haut. Est-ce faisable?
ÉDITÉ: code source (rendu) est
<div style="margin:0;padding:0;vertical-align:text-top; border:1px solid red;float:right;">
<span>Key:</span>
<input name="tbKey" type="text" maxlength="16" id="tbKey" />
<input type="image" name="btnRefresh" id="btnRefresh" src="_img/btn_submit.gif" style="height:22px;width:52px;border-width:0px;border-width:1px;" />
</div>
c'est votre code .net. Montrez-nous le rendu HTML/CSS. –
vient d'éditer la question, voir ci-dessus – sarsnake