0

好的,这是我的博客:

http://thestorywithnoending.tumblr.com/

我怎样才能让顶部图像(带有头部/飞机的标题)一遍又一遍地重复,以便整个顶部将那个图像......现在它只是一个大图像,但是我如何调整代码以便图像重复?

请测试一下代码,一旦你想到了修复它的方法,

太感谢了!谁想出来的太棒了:)

4

1 回答 1

1

在您现在使用#header div的 div 上方使用 a 。#left

<div id="header">
   <!-- content -->
</div>

然后您可以使用类似于以下内容的 CSS(您必须根据需要设置高度:

body{
    margin:0px;
    padding:0px;

}

#left     
{ width:100%; 
height:100px; 
margin:0px; 
background-color:#FFF; 
background-image:url('http://i52.tinypic.com/15yxa40.png'); 
background-repeat:repeat-x; 
}
于 2011-01-23T20:51:02.883 回答