driz Posted December 29, 2008 Share Posted December 29, 2008 Hi,My website uses the EXACT same dimensions as the Apple website, we both have the site sized at 980px. However if you view my website on an iPhone the container sits up to the edge, where as when viewing the apple website, it does not, it has some spacing either side.I have looked at the CSS and I can't see what they have done different? They haven't got padding around anything, and they have their container and main nav set to 980px, and margin auto'd, as well positioned relative.this is my site: http://simplecandy.com/and the apple page that best illustrates my point http://apple.com/mac/any ideas? x Link to comment Share on other sites More sharing options...
driz Posted December 29, 2008 Author Share Posted December 29, 2008 Turns out adding this: <meta name="viewport" content="width=1024"> fixes it. x Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.