javascript - Website Theme for IPhone - What are The Basic Ingredients? -
Has anyone made a website theme for the iPhone?
Please tell me any suggestions or resources
Here's my theory: How to prepare a website for the iPhone
-
For desktop monitors Make a website designed 320px (iPhone screen resolution) Try not to make any element bigger
-
Create 2 style sheets, for a desktop monitor and the other for iPhone by default, the desktop version of the style sheet is called. IPhone style sheets will display items in such a way that they fit within 320px resolution.
-
Create a javascript file that detects the screen size. If the screen size is less than 321 px, the style sheet is replaced by the iPhone version style sheet.
Liquid layouts work well when you portrait from Landscape And go back to the iPhone, text reflows
Comments
Post a Comment