# Link\_to and link\_to\_remote

**URL:** <https://www.ruby-forum.com/t/link-to-and-link-to-remote/144345>\
**Category:** Rails\
**Created:** [July 28, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/link-to-and-link-to-remote/144345 "2008-07-28T21:56:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdrietz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdrietz](https://www.ruby-forum.com/u/jdrietz)\
**Post date:** [July 28, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/link-to-and-link-to-remote/144345/1 "2008-07-28T21:56:31Z")

</div>

Hi

First problem:  
onmouseover=“this.style.background-image=‘url(/images/test.jpg)’;” Not  
sure what I’m doing wrong here.

Secondly, how does one specify css styles for link\_to\_remote. A:link,  
A:visited, and A:hover doesn’t seem to work for this.

Thanks for the help!
