Trying to make an existing web site look good on iPhone.
On Android it looks just the same as the computer version. Also Opera browser on my android phone is perfect. On iPhone client tells me it is huge showing only a portion of the site.
So have spent the last few days reading up on the subject. Have looked at separate templates and css but though that media queries was the way to go.
In Global Settings I have: (Safari suggests this).
Code: Select all
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
Code: Select all
@media screen and (max-width: 480px) { styles}
On my android it now looks pared down and fine, even a page of images looks good in one column.
In Opera on the android, it still looks exactly like the computer version. Its not picking up the @media part of the css.
iPhone my client tells me the text is not displaying properly - not in the correct order.
Am I doing it correctly? Is there a better way? I am thinking in future I will go back to doing fluid designs instead of fixed width. Surely there must be a way of targeting all small devices at the same time?
Any ideas would be appreciated.
Thanks