日期:2014-05-17  浏览次数:20912 次

如何在html让图片重叠?
要求A图片在下面,B图片在上面,B能够覆盖A,最好能提供代码

谢谢各位高手了

------解决方案--------------------
<div style= "position:absolute;z-index:1;left:10px;top:10px; "> <img src= "a.gif " width= "100 " height= "100 "> </div>
<div style= "position:absolute;z-index:2;left:60px;top:60px; "> <img src= "b.gif " width= "100 " height= "100 "> </div>