PDA

View Full Version : Stretch background of div


VeXocide
09-15-2006, 08:13 AM
Is there any way to have a background image for a DIV or SPAN stretch (or shrink) to fill the current size of the object rather than tile?

VeXocide

VIPStephan
09-15-2006, 01:10 PM
-- No (http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html).

Arbitrator
09-15-2006, 01:21 PM
Not possible until browsers implement CSS3 background-size (http://www.w3.org/TR/css3-background/#the-background-size). If you had done a simple forum search for "background stretch" you would have found this related topic (http://www.codingforums.com/showthread.php?t=94831&highlight=background+stretch) near the top of the results page.