W3C home > Mailing lists > Public > www-style@w3.org > December 1998

Re: Alternate images for different media

From: Chris Lilley <chris@w3.org>
Date: Thu, 31 Dec 1998 01:41:05 +0100
Message-ID: <368AC821.3259AE58@w3.org>
To: Dr Jacques Steyn <jacsteyn@iafrica.com>
CC: www-style@w3.org, www-html@w3.org


Dr Jacques Steyn wrote:

> One solution would of course be vector images. But this cannot be
> applied across the board.

Could you explain why not?

> Another solution would be to match copies of images in different sizes
> to specific media.

That can be done already, using the @media constriuct in CSS, specifying
the width and height of some element (such as a div) which is to contain
the image, in units such as ems or %, and then applying different
background images depending on media.

--
Chris
Received on Wednesday, 30 December 1998 19:38:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:56 GMT