Note that there are some explanatory texts on larger screens.

plurals
  1. PONavigation drop down menu not showing using simple css and HTML
    primarykey
    data
    text
    <p>I have a drop down menu list made in css and plain HTMl. It works fine but it rolls under my image slider , and I can see on a part of the menu when i hover on any of my menu. I think z-index property is missing somewhere. But I used in my ul li tag but no use.</p> <p>html</p> <pre><code>&lt;ul id="menu"&gt; &lt;li&gt;&lt;a href=""&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;About Us&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=""&gt;The Team&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;History&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Vision&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Products&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=""&gt;Cozy Couch&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Great Table&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Small Chair&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Shiny Shelf&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Invisible Nothing&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Contact&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=""&gt;Online&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Right Here&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=""&gt;Somewhere Else&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>css</p> <pre><code>ul { font-family: Arial, Verdana; font-size: 14px; margin: 0; padding: 0; list-style: none; } ul li { display: block; position: relative; float: left; } li ul { display: none; } ul li a { display: block; text-decoration: none; color: #ffffff; border-top: 1px solid #ffffff; padding: 5px 15px 5px 15px; background: #2C5463; margin-left: 1px; white-space: nowrap; } ul li a:hover { background: #617F8A; } li:hover ul { display: block; position: absolute; } li:hover li { float: none; font-size: 11px; } li:hover a { background: #617F8A; } li:hover li a:hover { background: #95A9B1; } </code></pre>
    singulars
    1. This table or related slice is empty.
    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