W3C home > Mailing lists > Public > www-style@w3.org > January 2012

CSS is not capable of supporting aspect ratios for elements

From: Matthew Wilcox <elvendil@gmail.com>
Date: Thu, 5 Jan 2012 11:46:40 +0000
Message-ID: <CAMCRKiJpUuQpq_RDmdcNgrq3e6PPSFu5jrNfP6Ve5HeRfvzxyQ@mail.gmail.com>
To: www-style@w3.org
Hi all,

my apologies if this is being addressed somewhere - I had a look but
couldn't find anything.

Is there anything proposed to allow CSS to be aware of aspect ratio's
that need to be kept? This has been a problem for me in a number of
practical scenario's recently while implementing liquid layouts.

IMGs scale proportionally with max-width. DIVs etc do not, and they
need to sometimes.

Thanks,
Matt
Received on Thursday, 5 January 2012 11:47:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT