Topic: background-image problem w/ ruby

Any clue why this wouldn't be displaying?

I have a div called "success".

[code css]
#success{
  border: 2px solid #009900;
  padding: 1em;
  margin-bottom: 2em;
  font: bold smaller sans-serif;
  background-image: url(accept.png);

[/code]

The image file is located at:
public\images\accept.png

Any thoughts? My general thought is it's not pulling from the right ruby location -- but who knows.

matthewvb

Re: background-image problem w/ ruby

It should be:

background-image: url(../images/accept.png);

<= Will buy you beer for some Ruby Help

Re: background-image problem w/ ruby

Thanks! worked great!

matthewvb