I'm looking to create a vertical div around an image that fluidly changes width:
|_________________|
| |XXXXXX| |
| |XXXXXX| |
| |XXXXXX| |
| |XXXXXX| |
| |XXXXXX| |
| |XXXXXX| |
|-----------------|
The container should align with the top and bottom of the content block, which I want centered using margin: 0 auto.