tag:support.baseworks.nl,2011-05-09:/discussions/sassee/4-sass-ee-media-query-with-background-imagesBaseworks: Discussion 2011-08-15T15:09:05Ztag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-14T22:40:48Z2011-08-14T22:40:48ZSASS-EE Media Query with background images<div><p>the url for the image should say /images/...</p></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-14T22:41:49Z2011-08-14T22:41:50ZSASS-EE Media Query with background images<div><p>Gosh...and the CSS property "background:"</p></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-15T05:32:08Z2011-08-15T05:32:08ZSASS-EE Media Query with background images<div><p>Hi Josh,</p>
<p>A quick way to fix it would be to wrap your filename with
quotes, like this:</p>
<pre>
<code>background-image: url('/nedcremin.com/images/interface/l/logo_low_res.png') no-repeat 0 0;</code>
</pre>
<p>The parser recognizes the slashes in the filename as division
operators an tries to do the math (literaly). This is something
I've always done in CSS out of consistency between languages.</p>
<p>Are there any other <code>url(...)</code> parameters without
quotes in that css file that <em>are</em> working?</p>
<p>– Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-15T13:16:11Z2011-08-15T13:16:12ZSASS-EE Media Query with background images<div><p>You must think I am crazy ;)<br>
Well I can explain but first off yes I am sure this is the
issue.</p>
<p>My daily work habits have crept in from the Rails project and
Sass/Compass gems we are using...I have configs set up so that URLs
in my scad files are compiled without Quotes.</p>
<p>Amazing how daily routine crept in!</p>
<p>Sorry for the silly bug report!</p></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-15T13:54:00Z2011-08-15T13:54:00ZSASS-EE Media Query with background images<div><p>So you're all set?</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-15T15:03:18Z2011-08-15T15:03:20ZSASS-EE Media Query with background images<div><p>Yes. Please delete this thread. I am sorry I wasted your time on
this :(</p></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/92981002011-08-15T15:09:04Z2011-08-15T15:09:04ZSASS-EE Media Query with background images<div><p>I'm not deleting the thread, just closing it. Might come in
handy for other people bumping into the same problem (and I'm sure
there will be a few) ;)</p>
<p>– Wouter</p></div>Wouter Vervloet