全背景图像dosnt显示全高?

问题描述:

好吧,所以我正在开发一个Facebook的应用程序,我正在使用一个可以调整大小的textarea。当我启动应用程序时,除非我拉下文本区域,否则无法看到整个背景图像。全背景图像dosnt显示全高?

有什么办法可以让所有图像都能看到吗?

我将包括我的CSS为我的背景。

我一直在寻找谷歌,但他们大多是带滚动条的背景图像。

.fbbody 
{ 
FB.Canvas.setSize({ width: 2400, height: 1200}); 
font-family: "lucida grande" ,tahoma,verdana,arial,sans-serif; 
font-size: 11px; 
color: #333333; 
background: url(images/background.png) no-repeat center center fixed; 
-webkit-background-size: cover; 
-moz-background-size: cover; 
-o-background-size: cover; 
background-size: cover; 
} 

如果有人可以帮助,这将不胜感激

你需要确保你的bodyhtml100%

html, body { 
    height:100%; 
} 
+1

我知道这将是东西太简单。谢谢 – 2013-05-13 19:18:32