Is it possible to change color of a table cell with css

When making a very sinple menu, I'd like to change color of the cell when mouse over using css. Is that at all possible? If yes, how should I go about it?
Lennart EricsonAmateurAsked:
Who is Participating?
GaryConnect With a Mentor Commented:
Well without any real code to go on this is just a very simple example

    <tr><td>Hover Me</td></tr>
<style type="text/css">
td:hover {background-color:blue;color:#fff}

Open in new window

However you should not be using tables for a menu.
Lennart EricsonAmateurAuthor Commented:
That is nice and easy! Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.