?
Solved

Change Colour of Table Cell

Posted on 2004-11-02
3
Medium Priority
?
419 Views
Last Modified: 2010-04-06
I have a table on my website i would like it so when you hover over a cell in the table for it to change colour of the cell you or hovering over.

On certain cells should change colour, and change even if you are hovering over text in the cell.

thanx in advance
0
Comment
Question by:mad_psyso
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
StormyWaters earned 500 total points
ID: 12479016
Add this to the relavent <td> tag:
 onmouseover="this.style.backgroundColor='green'" onmouseout="this.style.backgroundColor='transparent'"

and replace green with the color (a word or a hexadecimal) you want.
0
 

Author Comment

by:mad_psyso
ID: 12479034
Can you give the example using this

<td  align="center" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='silver', endColorStr='white', gradientType='0')"><font size="1" face="Arial, Helvetica, sans-serif">Products      &nbsp;</font></td>

I would like the colour to stay as Silver fading to White when you hover over the mouse i would like it to change to White fading to silver

Thanx
0
 
LVL 13

Expert Comment

by:StormyWaters
ID: 12479210
I don't know how to do that, sorry. I don't use microsoft proprietory code that works with nothing but IE.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question