Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User rylan's Avatar
    Join Date
    Sep 2012
    Posts
    8
    The local simulator returns the screen size of my system and not the device. Expecting 240 getting 1920

    So conditional css statements do not work @media only screen and (max-device-width: 240px) { }

    Cheers
    Rylan

  2. #2
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hi,

    Unfortunately CSS media queries are not supported in web apps.
    Local preview will handle those, as it is essentially a full-fledged WebKit browser meant for debugging, but they are dropped in cloud preview / actual device.

    Br,
    Ilkka

Similar Threads

  1. Possible bug in the local preview simulator: screen.height
    By igordsm in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2012-07-18, 01:18
  2. Issue Camera with width screen size bigger than height screen size
    By langtu_yka in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2010-11-16, 08:56
  3. 9500 does not return correct timezone
    By hasnulfadhly in forum Mobile Java General
    Replies: 0
    Last Post: 2005-07-05, 03:18
  4. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-13, 11:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved