zoukankan      html  css  js  c++  java
  • 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个单元行

     查看更多精彩图片

     

  • 相关阅读:
    ASP.NET 下载文件方式
    分享各大平台接口(空间,微博)
    BitmapToASCii
    C#操作进程(Process)
    Config ConnectionStrings
    Import Excel void (NPOI)
    C# Serialize
    C# 属性
    调用存储过程的方法
    Redis配置与安装
  • 原文地址:https://www.cnblogs.com/Gemgin/p/3136384.html
Copyright © 2011-2022 走看看