The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Web Apps
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-24-2008, 05:15 AM
What's Jailbreak?
 
Join Date: Sep 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Making a website iphone friendly

Hi,

I know there are plenty of guides out there showing people how to use the google wap site maker and how to intersquash your rss feeds however Ive been tasked with the job of creating an iphone freindly version of a website, basically a stripped down version of a larger site. I have made the basics on the site however when the page loads on the iphone the site appears zoomed out. Does anyone know how to define the page width? assume there is something i need to add to the css file? ive already tried the below

@media only screen and (max-device-width: 480px) {
.navigation {
display: none;
}

I know this is more of a web dev kind of question rather than iphone application question, but i thought that someone may have had some experience developing sites for the iphone.

If any one is interested the site in question is here

Thanks

---

EDIT: Sorry have just seen poetic_folly's sticky about coding at 100% width. This is put in the css right?

---

EDIT: Sorted.. i just added the below to the head of the page

Code:
meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"

Last edited by tommyp; 11-24-2008 at 06:08 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Web Apps

Tags
page, size, website

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 02:37 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top