Targeting the public/images directory?

I am altering the default scaffold.css inside of public/stylesheets to
include this:

td {
/* background-image:url(…/…/…/public/images/product_bkgrnd1.png); /
*
/* background-image:url(…/public/images/product_bkgrnd1.png);*/
}

How do I target the file public/images/product_bkgrnd1.png so that it
will render in a View’s

as specified in the scaffold.css.

I have tried a few different paths as you can see above, but no love
yet.

Thanks for helping out the rookie here.

On Mon, Apr 13, 2009 at 2:56 PM, elliottg [email protected] wrote:

How do I target the file public/images/product_bkgrnd1.png so that it
will render in a View’s

as specified in the scaffold.css.

td { background-image: url( “/images/product_bkgrnd1.png” ); }

HTH,

Hassan S. ------------------------ [email protected]

Perfect!

Thanks a ton.

Elliott

On Apr 13, 6:02 pm, Hassan S. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs