http://new.michaellane.com/listing-gallery.php
你看到的黄色纸条上有这组:
.listing_specs {
width:230px;
height:140px;
background-image:url('/images/featured_listing_specs.png');
background-repeat:no-repeat;
color:#836637;
padding-top:10px;
position:absolute;
top:120px;
right:-120px;
z-index:50;
}
包含它的 div,.listing_icons,只是一个通用的 float:left, position:relative DIV,z-index 仅为 10。
黄色 strip 如何出现在右侧的 .listing_icons 下方?
最佳答案
将左侧所有 grid_8 alpha listing_gallery_icon
的 z-index
设置为 11。
关于html - z-index 值未按应有的方式工作 - z-index 50 元素显示在下方,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4101787/