Note that there are some explanatory texts on larger screens.

plurals
  1. POConflicting <li> styles
    primarykey
    data
    text
    <p>Here is the problem. I had a nicely styled navigation. Then I added this side collapsible/expandable tree submenu, and the top navigation bar got distorted. I know there is some conflict in styling li element for the top navigation and side menu. I just can't figure out what exactly it is and how to fix it. Maybe you will spot it. Here is the URL: <a href="http://eximi.dreamhosters.com/Hawaii/pkdiet/pkd.php" rel="nofollow">http://eximi.dreamhosters.com/Hawaii/pkdiet/pkd.php</a> You can see that the last item on the menu - "Contact us" jumps to the second line, which is not supposed to happen.</p> <p>This is my CSS relevant to the issue:</p> <p>/<em>Main navigation</em>/</p> <pre><code>#menu { position: relative; float: left; margin-left: 132px; } #menu li{ display:inline; height: 33px; line-height: 33px; text-align: center; padding-right: 30px; color:#5a5a5a; font-family: Tunga, sans-serif; font-size: 14px; } .menu_item a:link { float: left; height: 33px; line-height: 33px; text-align: center; padding-right: 30px; color:#5a5a5a; font-family: Tunga, sans-serif; font-size: 14px; } .menu_item a:visited { float: left; height: 33px; line-height: 33px; text-align: center; padding-right: 30px; color:#5a5a5a; font-family: Tunga, sans-serif; font-size: 14px; } .menu_item a:hover { color:#1e1d1d; } /* CSS Tree menu styles */ ol.tree { padding: 0 0 0 30px; width: 130px; } li { position: relative; margin-left: -15px; list-style: none; } li.file { margin-left: -1px !important; } li.file a { color: #fff; padding-left: 21px; text-decoration: none; display: block; } li input { position: absolute; left: 0; margin-left: 0; opacity: 0; z-index: 2; cursor: pointer; height: 1em; width: 1em; top: 0; } li input + ol { background: url(images/toggle-small-expand.png) 40px 0 no-repeat; margin: -0.938em 0 0 -44px; xdisplay: block; height: 1em; } li input + ol &gt; li { height: 0; overflow: hidden; margin-left: -14px !important; padding-left: 1px; } li label { cursor: pointer; display: block; padding-left: 17px; } li input:checked + ol { background: url(images/toggle-small.png) 40px 5px no-repeat; margin: -1.25em 0 0 -44px; padding: 1.563em 0 0 80px; height: auto; } li input:checked + ol &gt; li { height: auto; margin: 0 0 0.125em;} li input:checked + ol &gt; li:last-child { margin: 0 0 0.063em;} </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