I'm glad you've got it working already - can I ask though why you're using relative urls instead of absolute? Is one method preferred in Rails over another?
On 9/19/07, Chris Griffin <[EMAIL PROTECTED]> wrote: > It seems that a file in another css file was missing and this caused > the other problems. Once I add the missing .gif all the other images > started working. > > Thanks for the help. > > On Sep 19, 2007, at 3:19 PM, Nathan Colgate Clark wrote: > > As I recall, Mongrel first looks for the files, then, if the file is > not found, tries to interpret it via routes.rb. Are you sure you > have the file name in the CSS accurate: > > i.e. > > url(/images/test.gif) > > and not just > > url(image/test.gif) > > -Nathan > > Chris Griffin wrote: > > I hesitate to through this to the group because it seems like it > > should work and I'm just missing something simple... > > > > I'm doing local development and running Mongrel (scripts/server). > > The problem is URLs in CSS files are getting sent to Rials as > > controller/action/... instead of being served as static files. In > > this case they are background image files. Has any one run across > > this? > > > > > > Thanks, > > Chris > > _______________________________________________ > > Sdruby mailing list > > [email protected] > > http://lists.sdruby.com/mailman/listinfo/sdruby > > > > _______________________________________________ > Sdruby mailing list > [email protected] > http://lists.sdruby.com/mailman/listinfo/sdruby > > _______________________________________________ > Sdruby mailing list > [email protected] > http://lists.sdruby.com/mailman/listinfo/sdruby > -- - - Al Abut - - web designer, crimefighter http://alabut.com - - _______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
