我对这个CSS做错了什么?

Jos*_*ell 1 css

我正在处理一个页面,我将内容放在样式表的包装器中.然而,包装器的背景并没有出现在内容背后,我无法弄清楚原因.

这是代码片段.

#wrapper {
  width: 850px;
  margin-top: -44px;
  padding: 15px;
  background-image: url('http://www.website.com/tumblr/images/contentbg_grey.png') repeat-y center;
  border: dashed thin blue;
  position: relative;
  text-align:center;
}
Run Code Online (Sandbox Code Playgroud)

Tim*_*adu 5

background-image: url('http://www.website.com/tumblr/images/contentbg_grey.png') repeat-y center;
Run Code Online (Sandbox Code Playgroud)

应该:

background: url('http://www.website.com/tumblr/images/contentbg_grey.png') repeat-y center center;
Run Code Online (Sandbox Code Playgroud)

如果您使用速记,请删除"-image"