Link_to_remote doubles border size

I have a div with a border around it. I use link_to_remote to change the
content, and the border size doubles. Example:

<%= link_to_remote("Test", :update => "test", :url => { :controller => "tester", :action => "test" }) %>

Even stranger, if I remove the border and nest the div object in another
div
with a border, the border of the outer div doubles, e.g.:

<%= link_to_remote("Test", :update => "test", :url => { :controller => "tester", :action => "test" }) %>

Has anyone else seen this problem? I haven’t been able to find a
solution
online. It occurs on Firefox and IE.

Thanks.


View this message in context:
http://www.nabble.com/link_to_remote-doubles-border-size-t1138901.html#a2984089
Sent from the RubyOnRails Users forum at Nabble.com.

Correction to the second example:

<%= link_to_remote("Test", :update => "test", :url => { :controller => "tester", :action => "test" }) %>


View this message in context:
http://www.nabble.com/link_to_remote-doubles-border-size-t1138901.html#a2984101
Sent from the RubyOnRails Users forum at Nabble.com.

I have the same problem and viewing the source doesn’t reveal anything
odd going on. I have it set to auto update and everytime it pushes
about 1px down and to the right. BTW, it’s not a situation of not
specifying layout => false.

Michael T.

Try
https://addons.mozilla.org/extensions/moreinfo.php?id=1843&application=firefox
It should show any weirdness going on.

Op 17/2/2006 schreef “Michael T.” [email protected]:

Thanks, that was actually the clue that I needed. In my case, the layout
was
being redrawn. I resolved it by calling render(:layout => false) in my
action, but I guess that you’ve already tried that. Sorry that my
resolution
doesn’t help you.

Mike

View this message in context:
http://www.nabble.com/link_to_remote-doubles-border-size-t1138901.html#a2993511
Sent from the RubyOnRails Users forum at Nabble.com.