弹出DIV被容器DIV切断 [英] popup DIV cut off by container DIV
本文介绍了弹出DIV被容器DIV切断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个按钮,当鼠标悬停在按钮上时会显示一个弹出窗口.此按钮位于div内,弹出式div被其包含的div之一切断.
I've got a button that show a popup window when hovered over. This button is inside a div and the popup div is being cut off by one of its containing divs.
将鼠标悬停在保存到列表"按钮上,您将看到.
Hover over the "Save To List" button and you will see.
推荐答案
这是因为您周围的div设置为 overflow:auto
.
It's because your surrounding div is set to overflow:auto
.
尝试将其更改为溢出:可见
Try to change it to overflow:visible
div#productMainWrapper div#pmwRightContainer1 {
color: #000000;
float: right;
height: 215px;
overflow: visible; //changed
padding: 8px 13px 0 0;
width: 295px;
}
这篇关于弹出DIV被容器DIV切断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文