Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2004

    Detect screen size?

    How do I detect and use a phone's screen size?

    I want to have two different versions of my website -- one for small cellphones and one for large ones, but I don't know how to about desiging that.


  2. #2
    Registered User
    Join Date
    Jun 2004

    You can't detect screen size

    You could use UA Profiles but it is very complicated to discover a mobile has a 128x128 screen resolution.

    And IF you find that out.

    So what?

    It does not indicate the addressable size of the browser window.

    It does not tell you how much text you can fit on the screen.

    It tells you very little.

    Just make sure your homepage is to the point.
    Device INDEPENDENT. Not dependent. You should never create two versions of the same content.


    Mine looks fine in any standards compliant browser.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Beside UAPRof you can also use WURFL

    A WURL record will also tell you about the usabel screen width in the display section for a specific device

    btw. I would not agree, that developing differnet versions for different device classes is a bad idea.

Posting Permissions

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