I need to center images that will be wider than the parent div that contains them. the parent div is a fixed width and has the overflow set to hidden.

```
<div style='overflow:hidden; width:75px height:100px;'>
    <img src='image.jpg' style='height:100px;' />
</div>

```

I must use an image as the child element because I need to resize the thumbnail dimensions and cannot rely on background-size since it is not supported on older versions of mobile safari which is a requirement. I also cannot use javascript for this, so it must be a css solution. 

One more thing to note is that widths will vary between images, so I can't just use absolute positioning on the child element at a hard-coded offset.

Is this possible?

UPDATE:

for posterity, I've just found out that this can be accomplished on the older versions of mobile safari by using 

```
-webkit-background-size:auto 100px; 

```

of course, the background will be set as usual using 50% for left positioning. If you need this to work on another browser, the accepted solution is probably the best, but since this question was related to the iphone, this solution is a little cleaner.