# Change td bgcolor on rollover | CSS?

**URL:** <https://forum.kirupa.com/t/change-td-bgcolor-on-rollover-css/197073>\
**Category:** Uncategorized\
**Created:** [August 13, 2006, 4:08pm UTC](https://forum.kirupa.com/t/change-td-bgcolor-on-rollover-css/197073 "2006-08-13T16:08:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanel96](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@tanel96](https://forum.kirupa.com/u/tanel96)\
**Post date:** [August 13, 2006, 4:08pm UTC](https://forum.kirupa.com/t/change-td-bgcolor-on-rollover-css/197073/1 "2006-08-13T16:08:57Z")

</div>

I’m trying to achieve an effect, where the background color of the \<td\> changes when i roll over it.

Here’s my table

```auto

<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="60" align="center">no link </td>
    <td width="40" align="center"> <a href="http://www.cnn.com" class="menu">link</a> </td>
  </tr>
</table>

```

all the css rollovers and stuff work for the link, but how do i make the td change it’s background color on rollover ?
