owendu

css对textbox加背景图片与color

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    
<HEAD>
        
<title>testtxtbox</title>
        
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
        
<meta name="CODE_LANGUAGE" Content="C#">
        
<meta name="vs_defaultClientScript" content="JavaScript">
        
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
        
<style type="text/css">
        .bgimg 
{ BACKGROUND-IMAGE: url(images/2.gif) }
        
</style>
        
<!---- 
    
/// owendu --css对textbox加背景图片与color 的摘要说明。
    
/// ************************************************
    
/// 作者:owendu(阿杜)
    
/// 功能:css对textbox加背景图片与color
    
/// ************************************************
    
///

    -->
    
</HEAD>
    
<body MS_POSITIONING="GridLayout">
        
<form id="Form1" method="post" runat="server">
            
<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 120px; POSITION: absolute; TOP: 232px"
                runat
="server" TextMode="MultiLine" onmouseover="this.style.background=\'url(images/1.gif)\'"
                onmouseout
="this.style.backgroundColor=\'red\'" Width="360px" Height="152px"></asp:TextBox>
            
<asp:TextBox id="TextBox3" style="Z-INDEX: 102; LEFT: 112px; POSITION: absolute; TOP: 48px" runat="server"
                Height
="96px" Width="320px" CssClass="bgimg" TextMode="MultiLine"></asp:TextBox>
        
</form>
    
</body>
</HTML>

分类:

技术点:

相关文章:

  • 2021-06-26
  • 2021-12-13
  • 2021-11-19
  • 2022-12-23
  • 2021-03-30
  • 2022-01-20
  • 2022-12-23
猜你喜欢
  • 2021-12-02
  • 2022-02-07
  • 2022-02-07
  • 2022-02-07
  • 2022-01-28
  • 2021-07-01
  • 2021-11-24
相关资源
相似解决方案