Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to create three columns in navigation submenu
    primarykey
    data
    text
    <p>I was able to successfully create a navigation menu with a submenu that appears on hover. However, I would like my submenus to have columns. I used Vanga Sasidhar's tips on creating the hover nav, I now need to create the columns under the Solutions and Support menu items.</p> <p>Here is my jsfiddle: <a href="http://jsfiddle.net/DKu7p/" rel="nofollow">http://jsfiddle.net/DKu7p/</a>. </p> <p>Here is my CSS:</p> <pre><code>.site-nav li { display:block; float:left; list-style:none; margin: 0; position: relative; width: 100px; } .site-nav li:hover { background:#1f78c3; cursor:pointer; } .site-nav li a { color:#696969; display:block; text-align:center; text-decoration:none; padding:5px 10px; } .site-nav li a:hover { color:#00598B; display:block; text-align:center; text-decoration:none; padding:5px 10px; } .site-nav .dropdown { display : none; position : relative; } .site-nav .dropdown li { float : none; } .site-nav li:hover .dropdown { display : block; position: relative; } .dropdown { background: #fff; border: 1px solid #fff; border-top: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35); list-style: none; margin: 4px 0 0 -9px; min-width: 150px; overflow: hidden; padding: 0; position: relative; z-index: 999; } .dropdown li { border: 0; border-radius: 0; clear: both; float: none; font-size: .9em; margin: 0; width: 100%; } .dropdown li span { display: none !important; } .dropdown li a { background: none; color: #333; display: block; font-size: 1.1em; font-weight: normal; padding: 5px 8px; text-align: left; text-shadow: none; } .dropdown li a:hover { background: #ddd; color: #0c84bb; text-decoration: none; } .dropdown .last a { border-bottom: none; } </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