Re: Features missing in background graphics through css

> First, I'd like to be able to position the center of some graphics, without 
> knowing the size of either the container or the image, at the exact center 
> of the container. Currently, I can only position the upper left corner of 
> the graphics in any given spot. Same thing of course applies to positioning 
> the bottom right corner of the graphics in the bottom right corner of the 
> container, and most combinations in between as well.

background-position lets you do exactly what you want (it's in CSS2).

> Second, I find myself missing a way to stretch a background graphics either 
> to fill the entire container or to fill just the horizontal or vertical 
> space, possibly with repeating in the other direction.

background-repeat is in CSS2.  background-size (proposed in CSS3) will
do the stretching you want.

Boris
-- 
In the first place, God made idiots; this was for
practice; then he made school boards.
                                     -- Mark Twain

Received on Wednesday, 7 August 2002 18:00:57 UTC