Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2010
    Posts
    28
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Is a mobile website still HTML and usual PHP?

    Is it as I was wondering?

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,634
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Yes it is. Just you have a smaller screen to display on and different ways that people will interact with your page.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New to the CF scene
    Join Date
    May 2012
    Location
    Canada
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by felgall View Post
    Yes it is. Just you have a smaller screen to display on and different ways that people will interact with your page.
    Hi masters,

    Do we need a different css and design? How do we know the users machine specification? Do we need to apply some API from smart phone system suppliers?

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,642
    Thanks
    6
    Thanked 1,005 Times in 978 Posts
    There are a couple of device/user agent detection scripts on the internet but for simple layout issues the best is to use CSS media queries. Also do a search with the keywords “responsive web design”.

  • Users who have thanked VIPStephan for this post:

    powertony (06-07-2012)

  • #5
    Regular Coder
    Join Date
    Jun 2011
    Location
    CA
    Posts
    105
    Thanks
    0
    Thanked 10 Times in 10 Posts
    Quote Originally Posted by powertony View Post
    Hi masters,

    Do we need a different css and design? How do we know the users machine specification? Do we need to apply some API from smart phone system suppliers?
    1. You'll want to design the site so it works on smaller screens, so yes, you'll need to rethink your page so they appear correctly and are not squeezed into a small screen. Googling "responsive web design" will give you a start.

    2. You don't really need to know the user's phone screen size.

    3. You don't need to apply any APIs from smartphone suppliers if you are just redesigning your web site to fit smaller screens.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •