这是link实现部分显示在另一分区内自下而上一个div充分显示在鼠标悬停
当你把鼠标悬停在“TUI独家发售”四个图像框,你得到的问题标题中描述的效果。
HTML:
<div class="maindiv">
<img src="img/img.jpg" />
<div class="lower_div">
this is the lower div1<br>
this is the lower div2<br>
this is the lower div3<br>
this is the lower div4<br>
this is the lower div5<br>
this is the lower div6<br>
</div>
</div>
使lower_div
的方式坐在底部使其位置absolute
和bottom 0
。但无论什么原因,在我的大HTML页面,这种技术不起作用,虽然它在另一个只包含这个片段的HTML页面中工作。
所以我正在寻找另一种方式使div坐在底部。除此之外,我还需要让它在mousehover上完全显示出来。
如何实现这些?
定义 “不工作” 是什么呢? – Onheiron 2012-08-15 09:27:31
lower_div只是下降到页面的底部.. – 2012-08-15 09:28:14
你有没有试图在main_div和lower_div上设置相对位置? – Stano 2012-08-15 09:30:25