HTML - Mobile Webpage Not Scaling Properly On Iphone
Hi there,
I recently made a "mobile" version of my business' website, and am using some javascript to redirect screen sizes smaller than 480px. The problem is, the mobile page I designed looks tiny on iPhones, even though in a regular browser it looks very similar to other site's mobile pages (which look great on the iPhone.) If someone could give me some advice as to why this is happening, I would appreciate it very much. I found a site that looks and acts just like how I want mine to: http://mobile.walmart.com/m/home And here is mine: http://www.sandiegopcsupport.com/mobile/ Thanks Similar Tutorialshey i need some help to scale my webpage to fit all screens. a mate of mine told me to use this code, however it dosn't work Code: <html> <head> <style> span.site { margin-left:auto; margin-right:auto; text-align:left; width:1680px; } </style> </head> <body> <span id="site"> blablabla </span> </body> </html> how should i solve this problem? Looks fine. Does not look fine. The first picture was fine because it was viewed with a 1024x768 resolution(which is the resolution that I'm working on my website with). However, any higher resolutions, and you'll see that the video goes out of place and moves too much to the right(second pic). I need to make it so that the video scales with all resolutions so it stays in place like in the first picture, no matter what the resolution is. Can anyone tell me how to fix this? Please be specific, i.e. what code? Thank you. hi i am building my site in flash cs3 , and when i test it in the browser,it is scaling depending how big is the browser,and I would like that the size of my web is fixed-not scaling .( because when someone resize the browser some images are getting really big and bad quality. So how can i make that my website is not scaling please? when i exported it from flash from the export options i choose NO scale,but its not working. so please help me what can i do? thanks My question is regarding this gallery that I put together: http://moparch.com/moparch/architecture/ds.html My goal is to make it so the image scales with the size of the browser window. Right now the image only scales as the page shrinks horizontally. When the page shrinks vertically the image does not change size. The page is made up of two flash movies, one for the images and one for the text and arrows. In dreamweaver I have set the image flash movie (the one on the left) to scale to 100% width and 100% height. I have set the text movie to be a fixed size. If anyone could explain how to get my image movie to scale as the browser window shrinks both horizontally and vertically I would greatly appreciate it. thanks I have a question about this web page: http://moparch.com/_moparch/architec...piastudio.html Right now, when you make the browser window smaller in the horizontal direction the image scales to fit the window. However, when you make the browser smaller in the vertical direction the image does not scale. How do I get the image to scale when I make the browser smaller in the vertical direction? Thanks in advance. Please see the following web page: http://moparch.com/moparch/architect...ucture/ds.html My question is: how do i get the flash movie (containing the pictures) to scale when the browser window gets smaller in the vertical direction? Right now it scales fine in the horizontal direction, but stays the same size when you make the window smaller in the vertical direction. Thank you in advance. I know there are a lot of table scaling issues out there, but I can't find one with my specific problem. I've set up this page made of a simple table with 9 cells. 3 Rows and 3 columns. All the cells have jpegs in them except the center one. That has a flash swf. My end intention is to have this without any scrollbars. I already know how to take those off, but I've left those on until I figure out this problem so that you can scroll around the page to see what I'm talking about. http://www.cachemeadow.com/beta_website/index2.html MY ISSUE: I'm wanting the viewer's screen to automatically center on the flash movie (the center cell). I would like all other cells in the table to 'bleed' off screen, thereby accommodating viewers with higher/lower screen resolutions. This also includes the first cell (top left) to bleed off the top-left so that the screen can be centered on the center cell. I would also prefer to make the page so that if anybody views or scales the entire window that it would always center in on the center cell (flash swf). I don't know very much code. I'm more of a graphics guy. Please help. Here's my existing code: Thank you. hey all, sorry if you get alot of annoying questions on myspace so ill try to make this easy I have created an image with the scale of 1024x768 to put on my page. however, i have a monitor that runs on a 1440x900 resolution. of course i can change the image to fit my screen but then, it wouldnt fit the average users screen very well. Currently i have the image pushed to the left, but i can get it centered horizontally with the code Code: background-position: 200px 0px; but vertically im having a bit of trouble. heres an image of what im seeing. http://img409.imageshack.us/img409/1851/img1wz6.jpg the words on the right are suppose to read "Echoes From Malta" however the "ta" in "malta" is cut off the bottom of the page. thats what the problem is from my end of the picture. from my friends view, who is on a smaller screen (i dont know the size) sees the image as being to big for the screen compared to me seeing it so small. so in short, how can i get the image to fit the screen correctly for me, and get it to scale appropriately for viewers varying resolutions. thx for your help Hi, I'm doing some tweaks to my tumblr layout, and I'm really, really bad at this. What I need help with is the image scaling. The layout has standard 550 width for images posted. However, this makes all images this width automatically. For photos that are bigger than 550 px it's fine, they can be made smaller, but I wish to remove the feature that makes smaller photos being scaled up. F.ex. if I post an image with 200 or 300 px width, I don't want it to be scaled up to 550 px, I want it to stay in it's original, smaller size. How can I do this? Here's my code for images: {blockhoto} <div id="entry"> {block:IndexPage}<a href="{Permalink}">{/block:IndexPage} {blockermalinkPage}{LinkOpenTag}{/blockermalinkPage} <img src="{block:IndexPage}{PhotoURL-HighRes}{/block:IndexPage}{blockermalinkPage}{PhotoURL-HighRes}{/blockermalinkPage}" alt="{PhotoAlt}" max-width="550"/><div style="margin-top:-4px; margin-bottom:-4px;"></div> {block:IndexPage}</a>{/block:IndexPage} {blockermalinkPage}{LinkCloseTag} {/blockermalinkPage} {block:Ifshowcaptions}{Caption}{/block:Ifshowcaptions}</div> Thanks in advance. /V Hi all Im having this weird issue.. On my site, under pics http://www.2muchspiff.com/weedimg/ some of the image are large, and when you zoom in on them, and zoom out, it makes the image all weird. How can i fix this? thanks Hey everyone, I've been redesigning this website I did for a local restaurant, trying some different takes on things (not designing the entire website using framesets and tables), and I'm still a bit confused. I'm currently on a 1280x800 resolution, Windows Vista and Firefox 3, and designing the website in I suppose what would be what looks best in THIS resolution. However, when I switch to 1024x768 which a lot of people are still using, the website is offset to the right due to my 'margin-left: 200px;' in the container. How else can I go about centering this page so that it is in the middle for most/all resolutions? The link is he http://www.totaros.com/indexnew.aspx So far the index, directions, and cuisine pages are fresh. All of the other links should point either dead or to the old website's pages. Thank you for taking the time to read my message, and thanks for any help in advance! I've searched around quite a bit, read various articles and so-on and only really come to the conclusion that this is a lot harder than it should be! What I have is a simple page for a PHP script, it has a little form for entering keywords, and displays an image above this form. Now, what I want to do is place these in a table, and have that table resize to fit the viewable area of the user's browser-window. So, what I have is a table with three-rows: The title of the image The image itself The form for entering image keywords Now, what I would like to do is have the image scale to fill the middle cell, which by default eats up all available space leftover by the form and title cells. However, this isn't happening, I enter a height of 100% for the image but it seems to be using some other container to get its height. I'm generally well-versed in HTML, but this one has me stumped! Any help is appreciated, here is the basic HTML I'm using for what I had thought would be a simple page Code: <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" /> <meta name="author" content="Haravikk.com" /> <title>Add keywords</title> <style type="text/css"> body, html { height: 100%; margin: 0; text-align: center; } tr, td, textarea { width: 100%; } table { width: 99%; height: 100%; margin: 0 auto 0 auto; } table, td { border-width: 0; border-spacing: 0; padding: 0; } #image { height: 100%; } #tdTitle { height: 5%; } #tdImg { height: 75%; } #tdForm { height: 20%; } #formText { width: 100%; height: 75%; } </style> </head> <body> <table> <tr> <td id="tdTitle"><b>placeholder.png</b></td> </tr> <tr> <td id="tdImg"> <img id="image" src="http://haravikk.com/placeholder.png" alt="" /> </td> </tr> <tr> <td id="tdForm"> <form action="keywords.php" method="post"> <textarea name="keywords" id="fmrText"></textarea><br /> <input type="submit" /> </form> </td> </tr> </table> </body> </html> Now, I don't know if I could eliminate the table in favour of divs and do this, any suggestions to make the above html work, or to re-write it are welcome! The image provided is just to illustrate the problem quick intro~ im an artist making a unique gallery. i did have someone else helping out n tried doing things in wordpress but that was getting to be too much trouble (especially after a promotion in their dayjob left me effectively alone with a site beyond my understanding). so i'm striking out to make it look as i want in plain ol' html first, and will tackle the database and backend stuff later. http://www.gaudiepod.org.uk/light/al.../test****.html ^ this example uses a few different techniques from my explorations of the possibilities. http://www.gaudiepod.org.uk/light/al...t****beta.html ^ this example is closer to what i am looking for (ignoring that it's all the same image for the moment). the images aren't merely cell-backgrounds, and so can be turned into clickable links without messy text (which was there just to give something that i could turn to links to lead to the fullscreen images), however all is not yet quite right.... ...when the window is large enough, the images in the grid show correctly, filling the screen. (hurrah!) but squish the window too small, and the cells refuse to shrink further than 100% the image's original size, and worse, the "fill table to 100% of window" breaks, and a scrollbar appears. i was wondering perhaps if i discovered the code to disable the scrollbar, that would force the table to remain constrained to the window's edge again. (would it?) but i'm guessing this cant be the whole solution, given the behavior of the table as is. what i'm going for, is a grid of 9 clickable images , that always scale to fit the window (or frame). (tho of course, the skills here will be scalable/transferable to tables any number of cells, not limited to just a 3x3 table of 9 cells) how can i make sure the table remains inside the window (no scrollbars!), and the images can scale down to smaller than original size? if i've messed up some other way (like left some link pointing to my local files or something), do please let me know. I'm not sure where to put this, moderators. I'm coding up a pre-designed template for a client. But I am having trouble with viewing it on an iPhone or iTouch. If anyone have them, would you be willing to test it out for me and let me know how it looks like? http://66.41.158.217:8888/aef/ Thanks! On the app market there is an app called face call that allows you to upload a picture and a phone number. Then the app makes a webpage that you visit on mobile safari, you "add to home page," and it makes an icon of your contact on the springboard. This allows you to go into the web app and it calls your contact. Heres what I know: It uses an html5 manifest file to run the app offline The site is deleted after you add it to the home page I want to know how it auto calls. You don't follow any link to that phone number, it just calls after the page loads. Sorry I'm new, so if this is the wrong place for this please tell me. Hi guys I've made a website for someone that works well in IE and Firefox. I have a Flash and an HTML version of it. Problem is, a few things aren't appearing correctly in his iPhone browser: - clicking an mp3 download links presents him with a text file full of code, it doesn't play an mp3 - DIV overflow:auto scrollbars aren't appearing on some pages Do iPhones use the safari browser. in other word, if I get the site to work in Safari on my PC, should it display correctly on his iPhone Thanks for your time and help Shaun Hi guys, new to this, and trying to learn. I have some code in a newsletter which opens a new page from a link perfectly well in a pc browser, but fails to open the same link on my iphone, which just asks me to 'save image' or 'copy'. My code below: <td width="200" align="left" valign="top"><a href="http://bit.ly/xxxxxx"><img src="xxxxxxx.jpg" width="195" height="150" alt="xxxxx" /></a></td> Also, I've tried opening a link from another newsletter on my iphone which works perfectly well, as below: <span style='font-size:9.0pt;font-family:"Arial","sans-serif";mso-fareast-font-family: "Times New Roman"'><a href="http://www.audible.co.uk/pd?asin=B005XOXIPM"><b><span style='text-decoration:none;text-underline:none'><img border=0 id="_x0000_i1038" src="http://ecx.images-amazon.com/images/I/41gzRQAgY+L._SL95_.jpg" alt="Steve Jobs" title="Steve Jobs" class=adbl-prod-image></span></b></a><o:p></o:p></span></p> I can't see the specific difference, plese help. Thanks Hi I've resisted long enough - I realise now I MUST create an iPhone version of any site I make. Complete newb to iPhone development, so I was wondering if there is a good tut somewhere you guys know of? Thanks Shaun Hi there, I cannot figure out why this mp4 video will not play on ipad/iphone - i generated the video in 720 width at 30 fps. Please help, thanks. http://leilanimunter.com/12-02.14.htm Ok here is my story i have a really good page page for my pc but when i try and open it on my iphone it looks really bad. I have created an iphone web page but i don't want to have to type the address into the address bar. I am running iis5 on windows xp Cheers Gozy |