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.

Received on Wednesday, 30 December 1998 19:38:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:49 UTC