Topic: problem using mail_to with image_tag as argument.
Beginners question here.
I'm creating a simple music blog.
Each post should have an envelope icon that, when clicked, opens the mail program with the correct email address.
I have the following line in my index.html.erb:
<%= mail_to("firstname.lastname@example.org", image_tag("email.gif")) %>
This works, except for that in my browser there's a black square around the envelop icon and just a black underlining when hovering over it.
I guess this is a css problem and i've tried many possible solutions, but it seems i'm unable to fix it.
If someone could give me a hint it would be greatly appreciated!
Last edited by MB77 (2008-09-22 10:15:10)