I have a link on my page that lets me delete items from my database -
I currently use CSS to insert a background image of a cross (an X).
I want to display 'alt' text explaining that the button deletes items
from the db but I know this can't be done with CSS.
What is the rails code for doing this?
Currently I have
<%= link_to 'del', :action=>:destroy %>
The reason I need the alt text is becuase I have set the word 'del' to
be 0px so that it doesn't appear on scree. I just want to have the
Is there a way to make the image show 'alt' txt when someone rolls