iPhone 4 mobile web app pixel scaling issues
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm having trouble getting my mobile web app to render properly on my iPhone 4. According to Wikipedia, the iPhone 4 has 960 width x 680 height pixels and the other iPhones have something like 480 width x 340 pixels. With my current build, the images and CSS styling look really tiny on the iPhone 4. Here is my code: <!DOCTYPE html> <html> <head> <title> mobile </title> <link rel = "stylesheet" type = "text/css" href = "iphone.css" media = "only screen and (max-width: 480px)" /> <link rel = 'stylesheet' href = 'highRes.css' media =