W3C home > Mailing lists > Public > www-style@w3.org > November 2004

Re: Please explain why we need multiple background images

From: Brian Sexton <discussion-w3c@ididnotoptin.com>
Date: Sun, 14 Nov 2004 23:31:52 -0800
Message-ID: <000c01c4cae5$2d560470$651aa143@desktop>
To: "Andrew Fedoniouk" <news@terrainformatica.com>
Cc: "www-style" <www-style@w3.org>


> You don't need multiple images for that (multiply images - multiply
> overhead).
> . . .
> Probably (if we don't want to introduce new attributes) full definition
> might look like:
> #table-image td
> {
> background-image:url(backgrounds/cellback.png);
> background-position:8px 8px 8px 8px; /*left top right bottom offsets*/
> background-repeat:expand; /* or -h-smile-expand, whatever you like */
> padding:8px;
> border: none;
> }

That is an interesting idea for a way to go about things, but "expand" does 
not seem to be a valid value for the background-repeat property even in the 
most recent version of the backgrounds module working draft.  Even if it 
were, though, I do not think expanding a single raster image is a viable 
option for fluid elements or multiple fixed elements of different sizes.

As for multiplying overhead, I think it might be a better option than 
requiring Web developers to resort to image clipping trickery.

Kind regards,

Brian Sexton 
Received on Monday, 15 November 2004 07:31:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC