W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] How to improve the appearance of web pages

From: Mathieu HENRI <p01@opera.com>
Date: Tue, 13 Mar 2007 14:43:56 +0100
Message-ID: <45F6AA9C.4090303@opera.com>
Gervase Markham wrote:
> Behnam ZWNJ Esfahbod wrote:

This is SO overkill. This should be handled by the user agent.
Actually some already do. Opera has done that for years, and IE7 is 
close but fall short by not zooming the background images.

>> The second one is to get the web server decide which image file is
>> better.  An Apache httpd module can select the best response for a
>> request for image "the-company-logo" if it knows which size is needed,
>> and what mime-types are acceptable.
>> My idea is to add a field to the http request header for image files,
>> to let the server know which size the image is going to be shown, and
>> then it decides to send the best answer. 
> What's wrong with URL parameters?

or CSS3 MEDIA QUERIES and/or CSS3 background-size ?

> <img src="logo.jpg?width=100px&height=100px" width="100" height="100">
> Your server-side code could see this URL and serve an appropriate image.

Mathieu 'p01' HENRI
JavaScript developer, Opera Software ASA
Received on Tuesday, 13 March 2007 06:43:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC