[thelist] background-image auto resizing

Craig cd-ml at aardvark.net.au
Mon Mar 3 01:46:01 CST 2003


> A few moths ago, cnn.com had td's with gradiated background images ...
> when you changed your text size, they would resize as if the image had
> a property of height: 100% - IOW, they didn't repeat, but stretched
> vertically.
>
> How does one achieve this behavior?

Have a look at the folllowing CSS properties:
background-repeat
background-image
background-position

Craig



More information about the thelist mailing list