Forum: Ruby on Rails :confirm in Mozilla Firefox

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7f1af56a4fd679069412fc46c7a4378e?d=identicon&s=25 Steve (Guest)
on 2007-04-16 02:30
(Received via mailing list)
I use the following code to link a picture so that it refers to a
blank link and relays a message after it is clicked:

<%= link_to_image "images/photos.jpg", "javascript:;", :confirm =>
"There are no pictures." %>

In Safari everything works perfectly for me, but when I use Firefox,
there is a blue border around the clickable picture, I think to
indicate it is a link. I have tried using CSS to get rid of this, but
it doesn't seem to work. Is there anyway to get rid of this blue
F148ec0cad8ea241b1cfd80e7ec8a7df?d=identicon&s=25 Fredrik Thuresson (Guest)
on 2007-04-16 05:47
(Received via mailing list)
:border => 0 in the html options.

This topic is locked and can not be replied to.