<TR onmouseove = "this.style.bgcolor = 'blue'">
<TD colspan="2" align="center">
<p style="FONT-WEIGHT: bold; FONT-SIZE: 20px">交易信息</p>
</TD>
<TR>
onmouseove = "this.style.bgcolor = 'blue'" 这句程序 为什么没起作用啊 ! 兄弟们 快回答我这个菜鸟!!

解决方案 »

  1.   

    <TR onmouseover = "this.style.backgroundColor = 'blue'">or<TR onmouseover = "this.bgColor = 'blue'">
      

  2.   

    <TR onmouseover = "this.style.backgroundColor = 'blue'">or<TR onmouseover = "this.bgColor = 'blue'">agree
      

  3.   

    还是不对啊 各位兄弟 我这是在aspx里面写的,在WEB窗体里拖放了一个TABLE
      

  4.   

    saucer已经回答的很明确了
    你怎么还不行?注意
    onmouseover 不是 onmouseove仔细看看saucer的代码
      

  5.   

    还是不对哦  xiahouwen(活靶子.NET)  兄
      

  6.   

    呵呵  只有这样拉啊 
    <%@ Page language="c#" Codebehind="info.aspx.cs" AutoEventWireup="false" Inherits="webbook.info" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <title>info</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
    <FONT face="宋体">
    <TABLE id="Table1" style="Z-INDEX: 101; LEFT: 176px; WIDTH: 464px; POSITION: absolute; TOP: 88px; HEIGHT: 272px"
    cellSpacing="1" cellPadding="1" width="300" border="1">
    <TR onmouseover="this.bgcolor == 'blue'">
    <TD align="center" colSpan="2">
    <P style="FONT-WEIGHT: bold; FONT-SIZE: 20px">交易信息
    </P>
    </TD>
    <TR>
    <TD style="WIDTH: 81px" align="center">
    <p style="FONT: smallcaption">联系人</p>
    </TD>
    <TD align="center"><asp:textbox id="TextBox1" runat="server"></asp:textbox></TD>
    </TR>
    <TR>
    <TD style="WIDTH: 81px" align="center">
    <p style="FONT: smallcaption">目的</p>
    </TD>
    <TD align="center"><asp:dropdownlist id="DropDownList2" runat="server" Width="111px">
    <asp:ListItem Value="0" Selected="True">买书</asp:ListItem>
    <asp:ListItem Value="1">卖书</asp:ListItem>
    </asp:dropdownlist></TD>
    </TR>
    <TR>
    <TD style="WIDTH: 81px" align="center">
    <p style="FONT: smallcaption">书名</p>
    </TD>
    <TD align="center"><asp:textbox id="TextBox3" runat="server" Width="228px"></asp:textbox></TD>
    </TR>
    <TR>
    <TD style="WIDTH: 81px" align="center">
    <p style="FONT: smallcaption">书籍归类</p>
    </TD>
    <TD align="center"><asp:dropdownlist id="DropDownList1" runat="server" Width="158px" ForeColor="Black" BackColor="White">
    <asp:ListItem Value="所有" Selected="True">所有</asp:ListItem>
    <asp:ListItem Value="计算机">计算机</asp:ListItem>
    <asp:ListItem Value="数学">数学</asp:ListItem>
    <asp:ListItem Value="外语">外语</asp:ListItem>
    </asp:dropdownlist></TD>
    </TR>
    <TR>
    <TD style="WIDTH: 81px" align="center">
    <p style="FONT: smallcaption">参考价格</p>
    </TD>
    <TD align="center"><asp:textbox id="TextBox2" runat="server"></asp:textbox></TD>
    </TR>
    <TR>
    <TD style="WIDTH: 81px; HEIGHT: 87px" align="center">
    <p style="FONT: smallcaption">联系方式</p>
    </TD>
    <TD style="HEIGHT: 87px" align="center"><asp:textbox id="TextBox4" runat="server" Width="212px" Height="78px"></asp:textbox></TD>
    </TR>
    <TR>
    <TD style="WIDTH: 81px" align="center">
    <p style="FONT: smallcaption">具体说明</p>
    </TD>
    <TD align="center"><asp:textbox id="TextBox5" runat="server" Width="214px" Height="93px"></asp:textbox></TD>
    </TR>
    </TABLE>
    <asp:imagebutton id="ImageButton1" style="Z-INDEX: 103; LEFT: 280px; POSITION: absolute; TOP: 464px"
    runat="server" Width="80px" Height="24px"></asp:imagebutton><asp:imagebutton id="ImageButton2" style="Z-INDEX: 104; LEFT: 424px; POSITION: absolute; TOP: 472px"
    runat="server" Width="96px" Height="24px"></asp:imagebutton></FONT></form>
    </body>
    </HTML>
      

  7.   

    <TR onmouseover="this.bgcolor == 'blue'">
    这个 应该是 <TR onmouseover="this.bgcolor = 'blue'">  还是不对啊 大哥
      

  8.   

    <TR onmouseover="this.bgcolor == 'blue'">你仔细看你写的和saucer贴的有何不同?
    <TR onmouseover="this.bgColor == 'blue'>
      

  9.   

    <TR onmouseover="this.bgColor == 'blue'“>区分大小写的
      

  10.   

    <TR onmouseover = "this.bgColor = 'blue'">"=", not "=="<TR onmouseover="this.bgColor == 'blue'">
                                ^^^^^^^^^^