We have a page design that works great in every PC browser that I have tried, but goes strange when viewed with an iPhone or iPod Touch.
The problem is something to do with a centred background image thats very tall:
#content_container
{
background-image:url('content-background.jpg');
background-position:top center;
background-repeat:no-repeat;
width:1020px;
height:auto;
}
The content-background.jpg
image is very tall (3000 pixels) and is designed to be 'revealed' as the DIV it is in grows due to content.
You'll have to look at the page and full CSS to understand, so I've stripped everything else out of the design and re-produced the problem with this example:
http://files.codeulike.com/static/cssexample/example.htm
(example made up of 1 html file, 1 css file and 3 images)
You'll see that in IE8, Firefox, Chrome you'll get a nice green box. But in an iOS browser the long thin background image gets re-scaled and everything goes odd.
(I'm using an iPod Touch 2nd gen but I assume the same problem will happen in other iPhones/iPod touches).
Any help greatly appreciated!