2017-03-20 4 views
0

のテーブルの中にとどまっていないので、私は自分のウェブページにラベルとテキストボックスを持っていて、テーブルの中にはいられません。ここにコードがあります:ラベルはasp.net

<table position: absolute; bottom:0px; border="2" style="width: 100%"> 
    <asp:Label ID="Label1" runat="server" Text="Total de Marcações com os critérios indicados:"></asp:Label><asp:TextBox ID="txtTotalLinhas" runat="server" ReadOnly="True"></asp:TextBox> 
     </table> 

テーブルはラベルの下にとどまり、テキストボックスは誰にでも分かりますか?ここ はプリントである(ラベルの下にその行とテキストボックスは、テーブルである)、これを注目に値するpic がここにdiv要素内のすべてであるdivのコード

<div style=" float:left; width:50%; border-right:1px solid gray; border-left:1px solid gray; "> 

答えて

1

変化にあなたのコードにある以下の

<table position: absolute; bottom:0px; border="2" style="width: 100%"> 
<tr> 
<td> 
    <asp:Label ID="Label1" runat="server" Text="Total de Marcações com os critérios indicados:"></asp:Label> 
</td> 
<td><asp:TextBox ID="txtTotalLinhas" runat="server" ReadOnly="True"></asp:TextBox> 
</td> 
</tr> 
     </table> 

これを試してください

+0

速い応答の仲間のためにありがとう、それは働いた:D –

+0

あなたは正しいものとして答えをマークすることができますより。 –

関連する問題