Most high-end smartphones have a 720 X1280 or 640 X 1136 resolution these days.
If I set the width of an img
element to 360px, will it fill half the screen on these phones? If so, do I have to use different layouts for different resolutions for mobile phones?
What about font-size
? If you set it by pixel, will smartphones interpret it literally? A 10px font size will be big enough in a 320 X 480 screen, but unreadable in a 720 X1280 resolution.