工具提示 CSS:
.mainButtonContainer button:hover:after
{
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
border-color: #093466;
border-radius: 5px 5px 5px 5px;
border-style: solid;
border-width: 7px 2px 2px;
bottom: -5px;
color: #093466;
padding: 5px 15px;
position: absolute;
width: 113px;
z-index: -1;
}
html:
<button id=mgf_main1 type="button" onclick="loadData(1)">
<img src="Images/Magof-Icon.png" width="68" height="68"/>
</button>
工具提示在 Firefox、Chrome 等中看起来不错。
但问题出在IE (10)
工具提示包含在按钮的大小中,我该如何解决?
最佳答案
.mainButtonContainer 按钮 { overflow: visible } – DJDavid98
关于html - 按钮内的资源管理器工具提示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18426811/