Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Web Applications

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2008, 11:24 PM
technekai
Status: Offline
Junior Member
 
Join Date: Mar 2008
Location: new york, ny, and providence, ri, usa
Posts: 3
Rep Power: 0
technekai is on a distinguished road
Default viewport limit?

i can't figure out why safari won't display my web content correctly on the iphone. i want to show a large image, 2880 x 2880, and have the whole thing fit in the viewport.

knowing that there are limitations to the max image size safari on iphone will display, i decided to make a giant div with a table that holds a 3 x 3 grid of images, each of which is 960 x 960 (so it adds up to 2880).

my html page has this metadata:
<meta name="viewport" content="width=2880, user-scalable=1">

and my css page has this for the relevant div:
#level3 {
height: 2880px;
width: 2880px;
background-color: #000000;
}

BUT i only ever see part of the whole page, it always shows a max of about 1280 width by about 1680 height.

i don't see why the 2880 x 2880 div is not showing. i've tried messing with the scale of the page, or even setting the viewport to a high number like 9000. not working. any suggestions?

thanks for your help. i tried posting to macrumors.com, as well as the iphone web app google group, but no replies anywhere yet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 09:43 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105