Topic: Background image doesnt show up

Hi my background image doesnt show up when i load up my application.

I have searched online and i think this is the right way to do it but for some reason

it doesnt show up.


background-image: url(images/"Bkgnd-img.png");
background-repeat: repeat;



Last edited by CrazyLegs (2011-05-23 21:48:45)

Re: Background image doesnt show up

If you're building a rails app and your image in located in /public/images/bkgnd-img.png, then you would reference it in the CSS like this:

#container {
  background-image: url(/images/bkgnd-img.png);
  background-repeat: repeat;