I don't have much code to put in, but looking for help in order to save what hair is left on my head...
I'm using retina.js, and it isn't working for any of the images. The @2x images are in the same folder as the smaller ones. One if them isn't exactly twice the size - designer sent me an image that was a pixel or two of - so I won't worry about that one as I assume that once the other images are loaded, this one will work when sized correctly.
I've tried shorthand background:url(foo.jpg).... and background-image:url(foo.jpg), with and without the images in "". I've resigned myself to thinking I'm missing something stupid, and am just not seeing it. Any help would be appreciated!
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="../js/index.js"></script>
<script type="text/javascript" src="../js/retina.js"></script>
HTML:
<ul class="grid" id="movie-grid">
<li class="movie">
<div class="poster"></div>
<h2 class="title"><a href="foo.html">Title</a></h2>
<p class="desc">TV Movie</p>
</li>
</ul>
and the CSS:
.poster {
/*background:url(../images/comingsoon.jpg) no-repeat left top;*/
background-image:url(../images/comingsoon.jpg);
background-repeat:no-repeat;
background-position:left top;
display:block;
width:204px;
height:137px;
background-size:100%;
}