Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS display:inline have no effect
    primarykey
    data
    text
    <p>HTML:</p> <pre><code>&lt;!-- MENU --&gt; &lt;nav id="menu"&gt; &lt;li&gt;&lt;a href="#"&gt;Categories 1&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;temp1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;temp2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;temp3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="#"&lt;Categories 2&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;temp1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;temp2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;temp3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/nav&gt; </code></pre> <p>CSS:</p> <pre><code>#menu { background-color: #0000FF; height: 20px; padding: 15px 0 10px; margin-bottom: 20px; font: 12px 'DroidSansBold', Tahoma,sans-serif; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; box-shadow: 3px 2px 3px #000; border-radius: 5px; text-align: center; } #menu li{ display: inline; } #menu li a { color: #fff; text-decoration: none; margin: 0 120px; } #menu li ul li{ display: none; } #menu li a:hover{ color: #dc692e; } </code></pre> <p>The result looks like this:<img src="https://i.stack.imgur.com/wxihb.png" alt="enter image description here"></p> <p>I can't seem to figure out why my two categories won't accept css <code>display: inline</code>. I have an menu under each of the categories that currently is not displayed. When I remove the 'under-menu', <code>display:inline</code> works.</p> <p>Not working JsFiddle: <a href="http://jsfiddle.net/LynwV/" rel="nofollow noreferrer">http://jsfiddle.net/LynwV/</a></p> <p>Thank for all help!</p>
    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