CSS style disappear when using RJS and page.replace

Why would you need

   @tasks_today = Task.find(:all, :conditions => "timeframe_id = 1")    @tasks_thisweek = Task.find(:all, :conditions => "timeframe_id = 2")    @tasks_nextweek = Task.find(:all, :conditions => "timeframe_id = 3")    @tasks_later = Task.find(:all, :conditions => "timeframe_id = 4")

when creating?

Ah, you might wanna paste your partial too (_tasks). :slight_smile:

Honestly I can't explain why your styles are lost.. but it might help if you paste your partial as well, since we know what your rjs does.

Gosh, you got me. I don't know why your CSS wouldn't work with this. My only guess is that the CSS doesn't apply to this because the div names are different...? :eek: