<p>I am using ActiveScaffold in a Ruby on Rails app, and to save space in the table I have replaced the default "actions" text in the table (ie. "edit", "delete", "show") with icons using CSS. I have also added a couple of custom actions with action_link.add ("move" and "copy").</p>

<p>For clarity, <strong>I would like to have a tooltip pop up with the related action</strong> (ie. "edit", "copy") when I hover the mouse over the icon.</p>

<p>I thought I could do this by adding a simple "alt" definition to the  tag, but that doesn't appear to work.</p>

<p>Can somebody point me in the right direction?</p>

Tooltips in HTML are the contents of the
```
alt
```
text for image tags, but if you're setting this using CSS you probably have a
```
background:url(...);
```
style instead of an image.