the general way this is done is by intentionally making the background larger than it has to be, so that if the font size is increased, there is still background image provided for the now larger area.
This can also use techniques such as sliding doors:
http://www.stopdesign.com/present/2004/sydney/limits/?no=82
On 11/9/05, Jared Smith <[EMAIL PROTECTED]
> wrote:
Is there any way using CSS to get a background-image to scale?
I've created an accessible interface that uses em for layout and font
sizing control. Everything scales beautifully as the font size changes
except for background images, which remain at the size of the original
image. I can't seem to find a way to get them to scale as the font size
(em) changes - something akin to CSS3's background-size. And % is not an
option as it scales based on the viewport size, not the font size.
Jared
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
