Note that there are some explanatory texts on larger screens.

plurals
  1. POIE 7/8 CSS Menu Problem
    primarykey
    data
    text
    <p>I'm having a weird problem with my CSS drop down menu. It shows up, but it's hidden behind another element, and there is a growing space between the list items. </p> <p>CSS code is pretty standard:</p> <pre><code>/*CSS Menu*/ #navigation li.menu ul { visibility: hidden; position: absolute; top: 40px; right: 5px; height: 15px; padding-top: 10px; } #navigation li.menu:hover ul { visibility: visible; } #navigation li.menu ul li { border: 1px solid gray; border-top: none; border-bottom: 1px dotted #ccc; z-index: 999999; position: relative; } #navigation li.menu ul > li > a { padding: 2px 5px 2px 5px; background-color: blue; text-align: right; display: block; color: black; background: white; } #navigation li.menu ul li a:hover { color: white; background: #ccc; } #navigation li.menu ul li a:visited { color: black; } </code></pre> <p>As is the IE Fix code:</p> <pre><code>#navigation li.menu ul li { border: 1px solid gray; border-top: none; border-bottom: 1px dotted #ccc; z-index: 999999999; position: relative; background-position: 0 0; } #navigation li.menu ul > li > a { padding: 2px 5px 2px 5px; background-color: blue; text-align: right; display: block; color: black; background: white; } </code></pre> <p>HTML Code for the Menu:</p> <pre><code>&lt;code&gt; &lt;div id="navigation" style="border: 0px solid #000; float: right;"&gt; &lt;ul &gt; &lt;li class="top"&gt;&lt;a href="index.php"&gt;&lt;span class="left"&gt;&lt;/span&gt;&lt;span class="right"&gt;Home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="top"&gt;&lt;a href="storage.php"&gt;&lt;span class="left"&gt;&lt;/span&gt;&lt;span class="right"&gt;Storage&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="top"&gt;&lt;a href="advertiser-info.php"&gt;&lt;span class="left"&gt;&lt;/span&gt;&lt;span class="right"&gt;Advertisers&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="top"&gt;&lt;a href="supplies.php"&gt;&lt;span class="left"&gt;&lt;/span&gt;&lt;span class="right"&gt;Supplies&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="top"&gt;&lt;a href="franchise-opportunities.php"&gt;&lt;span class="left"&gt;&lt;/span&gt;&lt;span class="right"&gt;Franchise Opportunities&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="menu top"&gt;&lt;a href="about-us.php"&gt;&lt;span class="left"&gt;&lt;/span&gt;&lt;span class="right"&gt;About Us&lt;/span&gt;&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="./contact-us.php"&gt;Contact Us&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="./history.php"&gt;Company History&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="./guarantee.php"&gt;Customer Guarantee&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="./faq.php"&gt;FAQ&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/code&gt; </code></pre>
    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