0

背景代码:

* {
    margin:0;
    padding:0;
}

body {
  background:url(head1.gif) no-repeat top, url(water2.jpg) no-repeat;
  background-color:#fff;
  font-family:"lucida sans", verdana, arial, sans-serif;
  font-size:13px;
  color:#fff;
  margin:0;
  padding:0;
}

p {
  line-height:1.5;
  padding-bottom:12px;
4

2 回答 2

1

Multiple backgrounds are CSS3, try 2 spans positioned over each other, with the backgrounds on each ( don't give them both a background color though )

于 2012-05-01T08:32:28.283 回答
0

我不知道图像显示什么,但您可以尝试将一张背景图像放在 HTML 元素上,而将另一张留在正文上,确保它们共享相同的属性值 - 宽度、边距、填充等。

于 2012-05-01T09:31:49.863 回答