Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 541367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:20:10+00:00 2026-05-13T10:20:10+00:00

i am creating a web page for iphone, i need the page to display

  • 0

i am creating a web page for iphone, i need the page to display efficiently in the iphone as well as on pc’s. I’m coding in xhtml and uses support of JavaScript and css. The problem is that, i’m getting the correct view in the pc’s but too small in the phone.how to adjust the size of the page. I am checking the user agent and loading a separate page (other than one for the pc) for the iphone. But i dont know hat changes are to be made to the attributes of body, inputs and other things so as to enable it to view correctly on the mobile browsers also

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:20:10+00:00Added an answer on May 13, 2026 at 10:20 am

    Are you making the same page for both devices? Usual practice is to make two separate pages that are optimised for both devices which by their nature have different form actors and characteristics.

    so code along the lines of

    $browser = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone");
    if ($browser == true)  { header('Location: http://www.yoursite.com/iphone/'); }
    //else{echo 'just carry on';}
    

    In terms of setting up the iPhone there are quite a few iPhone frameworks see here for list around which will speed the development and if you are developing on a Mac with Snow Leopard and the latest SDK then there is now a built-in project in dashcode to produce one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a web page, when opened in iphone safari browser, a cookie will
I'm creating a little iphone webapp for my school using the iWebkit (fancy css/javascript
I am creating a Web page, the problem is that when I shrink the
I am creating web page using asp.net. Is it possible to remove/hide the browsers
I'm creating a web page, and I can't (with html code) add a draw
I always run into the same problem when creating web pages. When I add
I'm creating a web page which gets records from a database, these records are
What are the basics for creating a web page for a mobile device? I'm
When creating a web page, not all unicode characters are always available across default
I'm creating a web page for a kiosk at a building entrance, so there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.