Jump to content

iPhone html


ebgames56

Recommended Posts

I have this site i made and want it to show up nicley on the iPhone but it shows up the same as it would on the Coomputer. I just want it to what i have in the box on the iPhone

 

here is the site

 

http://szeryk.com/Guitar%20Manifesto/Mobile/

 

also trying to make this page http://szeryk.com/Guitar%20Manifesto/ if site viewed on iPhone or iPad redirect to http://szeryk.com/Guitar%20Manifesto/Mobile/

 

thank you

Link to comment
Share on other sites

No need to build separate pages for your "mobile" pages. The CSS standard has the ability to define different styles based upon the "media type". So, you could define a page to display differently based upon whether it is being displayed on a PC, a mobile device or when printed. For example, I will routinely define the styles for navigation sections to be "display:none" when the media type is print. No need to display the nav section in a printed page since the user is interested in the content.

 

But, apparently not all mobile devices/browsers correctly define their media type, so you can go the route of maintaining separate pages. More info here: http://webdesign.about.com/od/mobile/a/detect-mobile-devices.htm

Link to comment
Share on other sites

umm ok? so what do i do?

 

Decide what solution you want to implement and, well, implement it. Are you wanting someone to write code for you? I can understand that you might not know what possibilities exist in order- which prevents you from being able to search for resources. But once you know what they are you can make a decision based upon the pros/cons of the possibilities and then search for additional resources. Then come back and ask questions if needed.

 

I just want the code i should put in my html page

YOU need to decide what you are going to do and implement accordingly. There is no bulletproof solution and some decisions need to be made. Neither I nor someone else can make those decisions for you.

Link to comment
Share on other sites

I have this site i made and want it to show up nicley on the iPhone but it shows up the same as it would on the Coomputer. I just want it to what i have in the box on the iPhone

 

here is the site

 

http://szeryk.com/Guitar%20Manifesto/Mobile/

 

also trying to make this page http://szeryk.com/Guitar%20Manifesto/ if site viewed on iPhone or iPad redirect to http://szeryk.com/Guitar%20Manifesto/Mobile/

 

thank you

 

 

 

****I JUST need code so that IF the  http://szeryk.com/Guitar%20Manifesto/ is viewed on a iDevice then Redirect to  http://szeryk.com/Guitar%20Manifesto/Mobile

 

And i dont want the white around the box to appear on the Device

Link to comment
Share on other sites

Did you read the page I linked to above that gave several different solutions? Again, none of them are perfect and each has particular benefits and drawbacks. So YOU need to make a decision on which solution works best for your site and then implement it.

 

If you want someone to write code for you then you need to post in the freelance forum and see if someone is willing to do it (for $$).

 

Forum rule #12

All request for code to be written for you should be posted under the freelance section. No exceptions

http://www.phpfreaks.com/page/rules-and-terms-of-service

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.