Note that there are some explanatory texts on larger screens.

plurals
  1. POVertical submenu layout and behavior incorrect
    primarykey
    data
    text
    <p>Vertical submenu postion is correct but links are on top of each other. And it won't hide when hovering in main menu. Hides when hovering outside menu. I don't know what to add/change in css.</p> <p><a href="http://www.villalotus.net/TEST/test.html" rel="nofollow">Vertical submenu</a></p> <pre><code>nav { padding-top: 183px; margin-left: auto; margin-right: auto; } ul { padding: 0; margin: 0; } nav ul { list-style: none; font-weight: bold; font-size: 20px; margin: 5px; width: 200px; } nav ul ul { display: none; margin: 0px; padding: 0px; } nav ul li { float: left; } nav ul a { display: block; width: 145px; text-align: center; text-decoration: none; color: #fff; border: 1px solid #004c99; border-radius: 8px; margin-right: auto; margin-left: auto; padding-top: 5px; padding-right: 9px; padding-bottom: 5px; padding-left: 9px; } nav ul a:active { background: rgba(255,255,255,0.4); color: #FFF; } nav ul li a:hover, ul a:focus { text-decoration: none; background-color: #6699cc; color: #FFFFFF; } nav ul a:link, nav ul a:visited { background: rgba(255,255,255,0.2); color: #FFFFFF; } nav ul li a { display: block; margin-top: 0px; } nav ul ul li { float: none; position: relative; } nav ul ul li a { color: #fff; margin-top: -35px; position: relative; margin-left: 165px; } nav ul ul li a:hover { background: #6699cc; } nav ul ul li a:active, ul ul li a:link , ul ul li a:visited{ background-color: #3370AD; } nav ul li:hover { margin-top: 0px; } nav ul li:hover &gt; ul{ display: block; position: absolute; } nav ul:after { content: ""; clear: both; display: block; } </code></pre> <p>Thanks in advance!</p>
    singulars
    1. This table or related slice is empty.
    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.
 

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