Is there any parent div to the container div? If width is 100%, it'll search for the parent width, which will only work if explicitly stated.
background-size: cover? Did you try it?