tag:help-archives.hannonhill.com,2010-02-09:/discussions/general/402-background-image-in-css-from-different-siteCascade CMS: Discussion 2011-11-08T23:48:40Ztag:help-archives.hannonhill.com,2010-02-09:Comment/112515312011-11-08T22:42:09Z2011-11-08T22:42:09Zbackground image in CSS from different site<div><p>A couple of things you will want to keep in mind:</p>
<ul>
<li>Make sure that your [system-asset] tags do not have spaces in
them (even though the documentation examples have spaces):
<pre>
<code> background: url('[system-asset]site://SITENAME/assets/images/site/play_small.png[/system-asset]') 0 0;</code>
</pre></li>
<li>While editing the CSS file, click the <strong>System</strong>
pane and make sure to check the box to <em>Rewrite Links in
file</em></li>
</ul>
<p>Let me know if this helps.</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/112515312011-11-08T23:20:14Z2011-11-08T23:20:14Zbackground image in CSS from different site<div><p>That did the trick. Thanks! (why does the documentation have
spaces if they shouldn't be there?)</p></div>Rory Reifftag:help-archives.hannonhill.com,2010-02-09:Comment/112515312011-11-08T23:48:39Z2011-11-08T23:48:39Zbackground image in CSS from different site<div><p>Cool! Glad I was able to help out.</p>
<blockquote>
<p>(why does the documentation have spaces if they shouldn't be
there?)</p>
</blockquote>
<p>I believe this was done as there was not a good way to output
those characters and have it show up nicely formatted (and not have
the '/' cause Cascade to attempt to rewrite it). Apologies for the
confusion!</p></div>Tim