Jason Baker wrote: > I am trying to make a stretched background fill the viewport. The > desired effect is to have an image stretched to 100% of the viewport's > width and have a 94% height. Additionally i want to vertically center > the image. I'm not sure if i'm attempting this effect correctly, so feel > free to suggest alternative solutions. I am having trouble making an > image's height stretch to a specific dimension in IE, but width > stretching and the top offset of 3% are working fine. The effect works > fine in firefox but IE just leaves the images height as it was. > > Test Page: http://www.onejasonforsale.com/test.html > Test Css : http://www.onejasonforsale.com/test.css
You need to give a 100% height for the body so IE has something to calculate against. Big John -- Perennial student + Impractical joker + CSS junkie = Big John <http://www.positioniseverything.net> ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/