I don't know if this will work for you, but this is what I did for a similar situation:
#wallpaper {position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; z-index: 1;} #wallpaper is the id for an image that is placed absolutely, with an z-index lower than the rest of the content. It is not a background image, but an inline image. In all likelyhood, the z-index probably isn't needed, if you place this item first in the source. This works great in IE, but I have not tested it in any other browsers. It was for some software I developed that used a webBrowser control (IE). Maybe it will work for you. bill walton wrote: > Greetings all; > > I'm having a 'dickens of a time' getting a background image to resize > dynamically based on content. I'm probably not explaining it worth a > darn, but it's pretty easy to see here: > > http://anysubdomain.shopkeepapp.com > > The specific problem on this page is that the right-side image is not > expanding vertically to match the left side. > > If you fill in the form (use any nonsense you want except for the email > address), you'll get the welcome page which displays both images at the > min-height setting. > > On the pages inside the site, which you can access if you click the link > in the email you'll get, I have another, very similar problem where that > even the left-side image not sizing to fit content. But maybe the fix > for that is the same as the fix for the right-side image on the sign-up > page. > > Overall, I'm using floats for positioning and % and em for widths and > heights pretty much everywhere. Maybe that's my problem. It seems to > be working with respect to putting everything where I want it. But if > using floats is what's causing my difficulties, I'm very open to > changing it. The bottom-line objective is to get these background > images to resize based on content. > > Thanks in advance for you help! > > Bill > > > > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/