Note that there are some explanatory texts on larger screens.

plurals
  1. POcan't get rid of vertical dropdown menu padding in firefox
    primarykey
    data
    text
    <p>problem: <a href="http://i.stack.imgur.com/qisVn.jpg" rel="nofollow">http://i.stack.imgur.com/qisVn.jpg</a></p> <p>The site looks fine on IE, Opera and Chrome, but in Firefox there is a gap between each image in my dropdown menu. I believe the problem is in the CSS.</p> <p>The same problem occurs in the other browsers when i remove the nave ul li { display: inline-table;} </p> <p>The CSS:</p> <pre><code>nav ul ul{ display:none; position:absolute; right:0px; top:28px; } nav ul li:hover &gt; ul{ display:block; } nav ul{ z-index:2; list-style-type:none; padding:0; list-style:none; position:relative; display:inline-table; top:-16px; } nav ul:after{ clear:both; } nav ul li{ display:inline-table; } nav ul ul li{ position:relative; } nav ul ul ul{ position:absolute; top:0px; left:113px; } </code></pre> <p>The HTML:</p> <pre><code>&lt;nav&gt;&lt;ul&gt;&lt;li&gt;&lt;a onClick="return true" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Fishing','','buttonsandimgs/fishingover.png',1)"&gt;&lt;img src="buttonsandimgs/fishing.png" alt="Fishing" name="Fishing" width="113" height="28" border="0" id="Fishing" /&gt;&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="fishing.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Seasons','','buttonsandimgs/seasonsdropover.png',1)"&gt;&lt;img src="buttonsandimgs/seasonsdrop.png" alt="Seasons" name="Seasons" width="113" height="28" border="0" id="Seasons" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Species','','buttonsandimgs/speciesover.png',1)"&gt;&lt;img src="buttonsandimgs/species.png" alt="Species" name="Species" width="113" height="28" border="0" id="Species" /&gt;&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="pelagicspecies.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Pelagic','','buttonsandimgs/pelagicover.png',1)"&gt;&lt;img src="buttonsandimgs/pelagic.png" alt="Pelagic" name="Pelagic" width="113" height="28" border="0" id="Pelagic" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="reefspecies.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Reef','','buttonsandimgs/reefover.png',1)"&gt;&lt;img src="buttonsandimgs/reef.png" alt="Reef" name="Reef" width="113" height="28" border="0" id="Reef" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="estuarysurfspecies.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Estuary/Surf','','buttonsandimgs/estuarysurfover.png',1)"&gt;&lt;img src="buttonsandimgs/estuarysurf.png" alt="Estuary/Surf" name="Estuary/Surf" width="113" height="28" border="0" id="Estuary/Surf" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="freshwaterspecies.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Freshwater','','buttonsandimgs/freshwaterover.png',1)"&gt;&lt;img src="buttonsandimgs/freshwater.png" alt="Freshwater" name="Freshwater" width="113" height="28" border="0" id="Freshwater" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload