- From: Anne van Kesteren <annevk@opera.com>
- Date: Sat, 17 Nov 2007 23:53:50 +0100
- To: "Henri Sivonen" <hsivonen@iki.fi>, fantasai <fantasai.lists@inkedblade.net>
- Cc: "W3C Style List" <www-style@w3.org>
On Sat, 17 Nov 2007 16:27:08 +0100, Henri Sivonen <hsivonen@iki.fi> wrote:
> If you have a design that puts a column of text (width in ems) and a
> bitmap (width in px) side by side on wide view ports, you might want to
> query whether the view port is at least x ems plus y pixels wide (and if
> not, load a different design instead).
This use case only works if the design uses the 'rem' unit and not the
'em' unit. Though I suppose you could make a case for combining relative
('px' for instance) and absolute ('mm' for instance) using calc() in a
min-width qeury.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 17 November 2007 22:54:03 UTC