0

我有这样的代码(全部) http://jsfiddle.net/NSzdm/

但主要问题是我尝试在页面底部像往常一样做页脚,但我得到这样的东西: https://dl.dropbox.com/u/59666091/screen001.jpg

很简单,仍然有带中心的包装器,但我也有页脚,它必须在包装器之后......请参阅 jsfiddle,所有代码都在那里......

页脚CSS:

.footer {
  margin: 50px 0 0 0;
  background-color: #3a3a3a;
  background-image: linear-gradient(bottom, #3b3b3b 0%, #424242 100%);
  background-image: -o-linear-gradient(bottom, #3b3b3b 0%, #424242 100%);
  background-image: -moz-linear-gradient(bottom, #3b3b3b 0%, #424242 100%);
  background-image: -webkit-linear-gradient(bottom, #3b3b3b 0%, #424242 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b3b3b', endColorstr='#ff424242',GradientType=0);
  /* IE6-9 */
  width: 100%;
  height: 144px;
}
4

1 回答 1

0

I think you just need to change position:absolute to position:relative in your CSS for .wrapper .center {position:relative}.

That seemed to move your footer down, not sure if it affects the other parts of your page, hard to tell with no images.

于 2012-11-21T15:23:51.850 回答