【发布时间】:2013-08-25 03:53:47
【问题描述】:
所以我在页面顶部有一个边框,我希望它在我向下滚动时保持在同一个位置。我尝试将position: fixed 放在许多不同的位置,但仍然无法正常工作。另外,如果可能的话,我希望其他内容在此图像后面滚动。这是我的代码:
<div style='
background-image: url(http://i111.photobucket.com/albums/n144/baby_painting/bowlace2.gif);
background-repeat: repeat-x;'>
<img src="http://i111.photobucket.com/albums/n144/baby_painting/bowlace2.gif">
</div>
这是页面 nikkidarlinggg.tumblr.com 对不起,如果我没有正确输入这个,我以前从未使用过这个网站。
【问题讨论】:
标签: html background border fixed