Re: [css-d] Smartphone resolution adaptation

2012-03-21 Thread David Laakso
On Wed, Mar 21, 2012 at 10:10 AM, Christian Kirchhoff privat wrote: The pages we are talking about are: http://nihao.k-risc.de/ --That page throws an horizontal scroll bar on landing in Android/2.2.2, Opera Mobile/12, and OperaMini/6.5. I guess because you have not used a media query and/or yo

Re: [css-d] Smartphone resolution adaptation

2012-03-21 Thread Christian Kirchhoff privat
Am 21.03.2012 01:24, schrieb David Laakso: 1/ Are you viewing my stuff and your stuff in a mobile phone /or/ a mobile phone simulator. If in a you are viewing in a simulator what you see is not necessarily what you will get in an actual mobile phone. I am viewing the pages on a HTC HD2 with W

Re: [css-d] Smartphone resolution adaptation

2012-03-20 Thread David Laakso
On Tue, Mar 20, 2012 at 6:17 PM, Christian Kirchhoff privat wrote: Thanks a lot again. I corrected that and http://nihao.k-risc.de/ck/screenshots_new.html shows screenshots of ck1 and ck2 (this time only Opera Mobile 10). I later added a new page ck3, but the link to that page is not visible on

Re: [css-d] Smartphone resolution adaptation

2012-03-20 Thread Christian Kirchhoff privat
Am 20.03.2012 16:24, schrieb David Laakso: On Tue, Mar 20, 2012 at 10:54 AM, Christian Kirchhoff privat wrote: First of all: On my smartphone your pages didn't display as expected, I guess my browsers have a problem with the article element. So I copied your pages and exchanged the article

Re: [css-d] Smartphone resolution adaptation

2012-03-20 Thread David Laakso
On Tue, Mar 20, 2012 at 10:54 AM, Christian Kirchhoff privat wrote: First of all: On my smartphone your pages didn't display as expected, I guess my browsers have a problem with the article element. So I copied your pages and exchanged the article element with a div id="article" (please see ht

Re: [css-d] Smartphone resolution adaptation

2012-03-20 Thread Christian Kirchhoff privat
Am 20.03.2012 01:41, schrieb David Laakso: ... Does anybody know why the media queries do not work? Or if the support for target-densitydpi=device-dpi has been dropped? Best regards Christian The gentlepeople at Opera deal in concepts. In a real world situation -- where the width m

Re: [css-d] Smartphone resolution adaptation

2012-03-19 Thread David Laakso
On Sun, Mar 18, 2012 at 1:35 PM, Christian Kirchhoff privat wrote: Under "Setting the target density"it is explained how to set css pixels equal to device pixels with: But that also changed nothing. The two example pages that are mentioned (http://people.opera.com/andreasb/viewport/ex02.html

Re: [css-d] Smartphone resolution adaptation

2012-03-18 Thread Christian Kirchhoff privat
Opera Mobile though the pages look like the screenshots on that page. Does anybody know why the media queries do not work? Or if the support for target-densitydpi=device-dpi has been dropped? Best regards Christian Original-Nachricht ---- Betreff: Re: [css-d] Smartphone resolution

Re: [css-d] Smartphone resolution adaptation

2012-03-15 Thread Tom Livingston
FWIW, tested in iOS 5.1 on iPhone 4. Green area was smaller than the viewport and was labeled as 480x800 -- Tom Livingston Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, March 15, 2012 at 5:38 PM, David Laakso wrote: > On Thu, Mar 15, 2012 at 4:25 PM, Christian Kirchhoff

Re: [css-d] Smartphone resolution adaptation

2012-03-15 Thread David Laakso
On Thu, Mar 15, 2012 at 4:25 PM, Christian Kirchhoff privat wrote: Here is a simple test page: http://nihao.k-risc.de/test.html Best regards Christian --- Fwiw, please see [no browser sniffing]: Qick checked in: Android/2.2.2 Opera Mobile Opera Mini Best, ~d --

Re: [css-d] Smartphone resolution adaptation

2012-03-15 Thread Georg
On 15.03.2012 21:25, Christian Kirchhoff privat wrote: For simple test purposes I have a page with a div that is set to 480px x 800px and thus should simply fill the entire screen. But at a zoom of 100% the div appears to be bigger than the screen. http://nihao.k-risc.de/test.html The div ta

[css-d] Smartphone resolution adaptation

2012-03-15 Thread Christian Kirchhoff privat
Hello, I'd like to adapt a screen design to different smartphone's resolutions. For a start, I want to just optimize the page for HTC HD2 which is supposed to have a rsolution of 480px x 800px. I test with two versions of Opera Mobile and one version of Internet Explorer Mobile. For simple