dotnet学习--制表技巧

 

<textarea style="overflow:hidden"></textarea>

会隐藏多行文本框的滚动条,但文字加多少,滚动条也不会出现.

 

只有当如下情况,文字内容超过给定高度height:124,本框的滚动条就会自动出现:

<textarea style="overflow-y:auto;height:124"></textarea>

 

 

1、多文本输入框取消滚动条   style="overflow:hidden"

<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" style="overflow:hidden" Width="99%"></asp:TextBox>

 

2、无边框的文本框

 <asp:TextBox ID="TextBox1" runat="server" BorderWidth="0px" Width="95%"></asp:TextBox></td>

<asp:TextBox ID="TextBox33" runat="server" BorderWidth="0px" Width="40px"></asp:TextBox>

 

3、只有底部有边框的文本框(下划线)

 

<asp:TextBox ID="TextBox27" runat="server" BorderWidth="0px" Style="border-bottom: 1px solid" Width="185px"></asp:TextBox>

 

4、行列

<tr>

   <td>

</td>

<td>

</td>

<td>

</td>

</tr>

 

一行三列 <tr>代表有多少行,而<td>多少列

 

colspan="6"  合并了同行的6个单元列

 

rowspan="4"  合并了同列的4个单元行

 查看更多精彩图片

 

posted @ 2013-06-13 14:31  信息无障碍  阅读(104)  评论(0编辑  收藏  举报