Sent by The Moose on 11 February 2003 18:06
It is done via the background-origin and background-size css3 properties:
http://www.w3.org/TR/css3-background/
W.
| I do not see how. An alternative (and this will depend on what you are
| trying to achieve) might be to make the image larger than the containing
| block and then center it both vertically and horizontally. That way, when
| the block is enlarged, extra image will be revealed.
|
| I think someone suggested that some kind of background-stretch property
| might be added to CSS3, but I cannot remember the details.
|
| Simon Jessey
| w: http://jessey.net/blog/
| e: [EMAIL-REMOVED]
|
|
| > Is it possible to have a background-image automatically resize to
| > (flexible)
| > size of the element it is applied to?