<asp:TextBox ID="TextBox6" runat="server" Height="246px" Width="385px" TextMode="MultiLine"  > </asp:TextBox>

解决方案 »

  1.   

    <asp:TextBox ID="TextBox6" runat="server" Height="246px" Width="385px" > </asp:TextBox>
      

  2.   

    <asp:TextBox id="txtNews" runat="server" MaxLength="1073741823" TextMode="MultiLine" BorderWidth="0px"
           ReadOnly="True" Width="100%" Height="380px" Wrap="True" style="OVERFLOW-Y: visible"></asp:TextBox>
      

  3.   

    <asp:TextBox id="txtNews" runat="server" MaxLength="1073741823" TextMode="MultiLine" BorderWidth="0px"
           ReadOnly="True" Width="100%" Height="380px" Wrap="True" style="OVERFLOW-Y: visible"></asp:TextBox>
      

  4.   

    关于
    OVERFLOW: visible
    这个只能是在IE支持,并且,前面一定要用
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    而不能用
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    其他的方法只能是js实现控制了
      

  5.   

    style= "overflow:auto "   横纵都自动 
    style= "overflow-x:auto "横自动 
    style= "overflow-y:auto "纵自动 
    style="overflow:hidden" 
    <textarea rows="1" style="overflow-y:hidden;" onscroll="this.rows++;" onpropertychange="this.style.posHeight=this.scrollHeight"></textarea>
      

  6.   

    强制使用ie6的解析CSS将<meta http-equiv="x-ua-compatible" content="ie=6" /> 
    加到<head></head>里例如:<asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Width="300px" style="overflow:visible" Height="200"></asp:TextBox>