I am currently working on a menu design for a website and encountered an unusual issue while testing it in Firefox. In the provided fiddle link, you can view the menu layout where hovering over the information button should display a submenu directly below it. This functionality works correctly in Chrome and IE; however, in Firefox, the menu appears shifted to the left. I suspect that this problem might be related to the combination of 'Display: table' and absolute positioning of the submenu, but I'm not entirely sure.
Click here to view the menu live
The relevant HTML code snippet is as follows:
<li class="item262 parent root">
<span class="daddy item bullet nolink"><span>Information</span></span>
<div class="fusion-submenu-wrapper level2"
style="width:180px;">
<ul class="level2"
style="width:180px;">
<li class="item263"><a class="orphan item bullet"
href=
"/new/index.php?option=com_content&view=article&id=7&Itemid=263">
<span>Choosing a Property</span></a></li>
<li class="item264"><a class="orphan item bullet"
href=
"/new/index.php?option=com_content&view=article&id=8&Itemid=264">
<span>Downloads</span></a></li>
<li class="item265"><a class="orphan item bullet"
href=
"/new/index.php?option=com_content&view=article&id=4&Itemid=265">
<span>FAQs</span></a></li>
<li class="item266"><a class="orphan item bullet"
href=
"/new/index.php?option=com_content&view=article&id=6&Itemid=266">
<span>Moving In</span></a></li>
<li class="item267"><a class="orphan item bullet"
href=
"/new/index.php?option=com_content&view=article&id=5&Itemid=267">
<span>Protecting Your Deposit</span></a></li>
<li class="item268"><a class="orphan item bullet"
href=
"/new/index.php?option=com_content&view=article&id=3&Itemid=268">
<span>Repairs</span></a></li>
</ul>
<div class="drop-bot"></div>
</div>
</li>
Here is the associated CSS code:
.menutop li {height: auto;margin: 0;padding: 0;position: relative;list-style: none;}
.menutop em {font-size: 80%;font-weight: normal;display: block;font-style: normal;}
...
(remaining content pasted)
...