Struggling to articulate this, so here is a little jsfiddle demo:
The concept I am aiming for is very similar to the one in the demo, however, I require the image to be perfectly centered. In other words, I need the center of this image to appear at the exact center, both horizontally and vertically, within a 250x250 window that can be scrolled in all directions to reveal the edges.
I currently have code that almost works if I adjust the height and width of the image individually: http://jsfiddle.net/UwEe2/599/. This code involves nesting a second div inside the first with inline styles
style="position:relative; top:-330px; left:-330px;"
, which shifts the image closer to where I want it but prevents scrolling beyond the initial screen boundaries.
Hopefully that explanation was clear...I'm struggling to figure this out at the moment.