Works on firefox
HTML
<ul>
<li class="lib_undefined">
<span class="hidden_toggle">
<a href="/">Test</a>
</span>
</li>
</ul>
CSS
.hidden_toggle{
text-align: center;
font-size: 20px;
font-weight: 600;
color: #999;
line-height: 80px;
display: none;
}
.hidden_toggle a{
color: #999;
border: none;
display: block;
width: 100%;
height: 90px;
}
.lib_undefined{
min-height: 90px;
border: 1px solid #000;
}
jQuery
$('.lib_undefined').hover(function(){
$(this).children('.hidden_toggle').fadeToggle();
});
Any known fixes? The a tag needs to fill the entire li, which is why display is set to block.
When
fadeToggle()works it addeddisplay: inlineCSSto fade element. You may use some block element such asdiv/pto wrap youra.Just use
display: inline-blockto.hidden_toggle aand hope your problem will solve.ie.
DEMO
Note
Though
display: inline-blockwill fails for older IE versions.