On Wed, Jan 14, 2009 at 3:47 AM, Maulin pa <[email protected] > wrote:
> > @Matthew, > The div tag is not broken, that was a typo on my part, sorry about that. > Styling the div in the css does not work. > > @Andrew > I tried your syntax and that does not seem to change the link color > either. I tried putting the link_to_remote both inside and outside div > tags...no go. > > Anybody else have any suggestions? > > -- > Posted via http://www.ruby-forum.com/. > > > > Sorry, another tired answer, try: <%= link_to_remote( "#{l.name}", {:update => "right", :url =>{ :action => :show_stats, :ladder_id => l.id }}, {:style => "color:white"} ) %> The method signagure for link_to_remote is: link_to_remote(name, options = {}, html_options = nil) so you need to include the display text, a hash of options for the remote link and then a second hash for the html specific options so it's best to use explicit hashes so you know which is which link_to_remote( name, {}, {} ) -- Andrew Timberlake http://ramblingsonrails.com http://www.linkedin.com/in/andrewtimberlake "I have never let my schooling interfere with my education" - Mark Twain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

