kentico-jx2tech
-
1/12/2014 8:02:28 PM
RE:Help! My device layouts aren't working!
I believe that the CurrentDevice.ScreenPixelsWidth is returning the device width, rather than the viewport width. Using that property like a media query expression might not produce the desired result. For example, 51degrees returns a default 640 for ScreenPixelsWidth if the device is not detected, like a desktop browser.
|