有没有一种有效的方法来重叠2个div。CSS - 重叠 - 有效
我有以下,但无法使它们重叠。
#top-border{width:100%; height:60px; background:url(image.jpg) 0 0 repeat-x; float:left; position:relative;}
#header-wrap{width:100%; height:80px; background:none; float:left;}
#header{width:800px; margin:0 auto; height:80px; background:url(taller-image.jpg) 0 0 repeat-x}
<div id="top-border"></div>
<div id="header-wrap">
<div id="header">links go here.</div>
</div>
这基本上给出了顶部横幅“突出”出来 但我无法让他们重叠的效果......
如在图像的顶部在这里看到:http://www.boguscreek.com/images/template.jpg
我想在这里得到这个效果在网站的顶部:http://www.boguscreek.com/images/template.jpg – 2010-11-08 22:28:21