×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    2

    Fit screen size on specific mobile devices

    Hi folks!

    I have a question: How can I make the screen size of my XHTML MP site using PHP and MySQL fit to the screen-size of the device it is displayed? (Without horizontal scrolling!!)

    Example: http://wap.cinema.de/op/cinema/de/ct/

    The tricky thing about this is that there must have been set a maximum size somewhere because even on my PC with a high resolution (1920px*1200px) the site is displayed properly without a messed up content.

    [Perhaps database driven CSS values?]

  2. #2
    Registered User
    Join Date
    Jun 2006
    Location
    England
    Posts
    49

    Re: Fit screen size on specific mobile devices

    You need to resize your graphics as they may be whats causing your scrolling issue.

    PhP has a GD library which you can use to dynamically resize your graphics to each devices screenwidth (minus scroll bar ).

    Screendims can be taken from the device Uaprof xml file or data sheets from manufacturers.
    Or you could use Wurfl or similar detection applications.
    http://wapple.net
    Mobile Internet Solutions

Similar Threads

  1. Max jar file size and heap memory for Black Berry Devices.
    By pankajbakal in forum Mobile Java General
    Replies: 0
    Last Post: 2005-04-30, 06:50
  2. Size of the screen
    By sakhya in forum Symbian
    Replies: 1
    Last Post: 2004-10-18, 04:05
  3. usable screen size with 6560
    By keywiz in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-25, 10:27
  4. usable screen size under java for 6560
    By keywiz in forum General Development Questions
    Replies: 0
    Last Post: 2004-06-24, 18:53
  5. Screen size in centimeters
    By doctordwarf in forum Symbian
    Replies: 3
    Last Post: 2003-12-17, 17:35

Posting Permissions

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