# :confirm in Mozilla Firefox

**URL:** <https://www.ruby-forum.com/t/confirm-in-mozilla-firefox/92097>\
**Category:** Rails\
**Created:** [April 16, 2007, 2:30am UTC](https://www.ruby-forum.com/t/confirm-in-mozilla-firefox/92097 "2007-04-16T02:30:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [April 16, 2007, 2:30am UTC](https://www.ruby-forum.com/t/confirm-in-mozilla-firefox/92097/1 "2007-04-16T02:30:27Z")

</div>

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  
border?

---

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [April 16, 2007, 5:47am UTC](https://www.ruby-forum.com/t/confirm-in-mozilla-firefox/92097/2 "2007-04-16T05:47:37Z")

</div>

:border =\> 0 in the html options.

Fredrik
