Currently my setup is that I have two different stylesheets: browser.css and iphone.css
When I am developing and testing in Chrome I need to use the browser.css and when I put it on the device I need to use iPhone.css
I'm using a lot of absolute positioning for my apps CSS. The positioning is a few hundred pixels different for Chrome vs. on-device-iPhone. Is this common? Am I missing something?
It's quite time consuming to manage two different CSS files.
body {
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
-webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
background-color: #000000;
font-family: KozMinPro, 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
font-size: 18px;
margin: 0px;
padding: 0px;
background-image: url('../img/bg_with_ui_v1.png');
background-repeat: no-repeat;
background-size: 50%;
width: 640px;
height: 960px;
}