- From: Timur Mehrvarz <timur.mehrvarz@web.de>
- Date: Wed, 22 Aug 2007 11:20:02 +0200
- To: Spartanicus <mk98762@gmail.com>
- Cc: www-style@w3.org
On 22.08.2007, at 00:40, Spartanicus wrote: >> http://lists.w3.org/Archives/Public/www-archive/2007Aug/0033.html > > Why would you need media queries to do this? > >> http://lists.w3.org/Archives/Public/www-archive/2007Aug/0034.html > > I can see the need for a viewport width media query for that use > case, I > don't see any purpose for an aspect-ratio media query. I should have mentioned, that all images are individual SVG objects. My MQ look something like this: /* landscape: 6 columns */ @media all and (min-device-aspect-ratio: 1/1){ object{width:15.7%} } /* portrait: 4 columns */ @media all and (max-device-aspect-ratio: 1/1){ object{width:23.6%} } The desired criteria is the aspect ratio of the rendering area. I really don't want to use a width based query here. Timur
Received on Wednesday, 22 August 2007 09:20:37 UTC