- From: Brian Sexton <discussion-w3c@ididnotoptin.com>
- Date: Sun, 14 Nov 2004 23:31:52 -0800
- To: "Andrew Fedoniouk" <news@terrainformatica.com>
- Cc: "www-style" <www-style@w3.org>
Andrew, > 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