Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

ASP.net Change color/shading on mousehover over image

Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on
ASP.NET
23 Comments1 Solution247 ViewsLast Modified:
Hi. I have a webpage (markup shown below) with image buttons on it. Is it possible to change the color/shading of either the images or table cells that they are in when the user mouse hovers over them

<%@ Page Title="Self Service Business Intelligence" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="Online_Excel._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            height: 21px;
        }
    </style>
    </asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

 
    <asp:Image ID="Image1" runat="server" Height="225px"
    ImageUrl="~/Resources/_MAIN_LOGO.png" Width="892px" />
    <br />
    <br />

    <table>
            <tr>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" ForeColor="#333399"
            Text="RAPID-FIRE AUTO-INVOICING"></asp:Label>
                </td>
    <td></td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label2" runat="server" ForeColor="#333399"
            Text="CLOUD DATABASE SOLUTIONS FOR EXCEL"></asp:Label>
                </td>
    <td></td>
    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server" ForeColor="#333399"
            Text="LIVE WEB DASHBOARDS BUILT IN EXCEL"></asp:Label>
                </td>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td>
        <asp:ImageButton ID="ImageButton1" runat="server" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="4px" Height="188px"
            ImageUrl="~/Resources/AutoInv.jpg" PostBackUrl="~/Excel_and_Databases.aspx"
            Width="282px" />
        </td>
    <td></td>
    <td>
        <asp:ImageButton ID="ImageButton2" runat="server" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="4px" Height="188px"
            ImageUrl="~/Resources/Cloud_Hub.jpg"
            PostBackUrl="~/Cloud Database Query And Editing Tool.aspx" Width="279px" />
        </td>
    <td></td>
    <td>
        <asp:ImageButton ID="ImageButton3" runat="server" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="4px" Height="188px"
            ImageUrl="~/Resources/chart 1.jpg" PostBackUrl="~/Video1.aspx"
            Width="281px" />
        </td>
    <td></td>
    <td></td>
    </tr>
        <tr>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    </tr>
            <tr>
    <td class="style1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label4" runat="server" ForeColor="#333399"
            Text="SUPERCHARGED DETAILED QUOTING"></asp:Label>
                </td>
    <td class="style1"></td>
    <td class="style1">
        <asp:Label ID="Label5" runat="server" ForeColor="#333399"
            Text="MANAGE CLOUD (SQL) DATA IN EXCEL"></asp:Label>
                </td>
    <td class="style1"></td>
    <td class="style1">
        <asp:Label ID="Label6" runat="server" ForeColor="#333399"
            Text="IN-SPREADSHEET EDITING OF CLOUD/ SQL DATA "></asp:Label>
                </td>
    <td class="style1"></td>
    <td class="style1"></td>
    </tr>
            <tr>
    <td>
        <asp:ImageButton ID="ImageButton4" runat="server" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="4px" Height="188px"
            ImageUrl="~/Resources/QPane2.jpg" PostBackUrl="~/Video8.aspx"
            Width="282px" />
                </td>
    <td></td>
    <td>
        <asp:ImageButton ID="ImageButton6" runat="server" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="4px" Height="188px"
            ImageUrl="~/Resources/DB_Mirror2.jpg" PostBackUrl="~/Video10.aspx"
            Width="281px" />
                </td>
    <td></td>
    <td>
        <asp:ImageButton ID="ImageButton5" runat="server" BorderColor="Black"
            BorderStyle="Solid" BorderWidth="4px" Height="188px"
            ImageUrl="~/Resources/In-Spreadsheet Editing.jpg" PostBackUrl="~/Video9.aspx"
            Width="281px" />
                </td>
ASKER CERTIFIED SOLUTION
Avatar of Mike Eghtebas
Mike EghtebasFlag of United States of America imageDatabase and Application Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 23 Comments.
See Answers