Displaying 1 result from an estimated 1 matches for "publiv".
Did you mean:
public
2006 Aug 11
6
css - location of files.
...ve myapp_standard.css in
/public/stylesheets and it works fine.
However, in the stylesheet I define a image to use for my site
background. eg:
html, body{
background-image: url(mysite_background.jpg);
padding-top: 10px;
}
It is not working - I tried placing the images in /public/images and
publiv/images/mysite - no luck.....
Can I run ruby code in my stylesheet? To do something like:
html, body{
background-image: <%= image ''mysite_background.jpg'' %;
padding-top: 10px;
}
Any other suggestions on a best practise for this???
Thanks!
Pieter