search for: mysite_background

Displaying 1 result from an estimated 1 matches for "mysite_background".

2006 Aug 11
6
css - location of files.
...s using <%= stylesheet_link_tag ''myapp_standard'' %> to define the stylesheet for layout, I have 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...