Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy won't list items follow the inline CSS rule?
    primarykey
    data
    text
    <p>I'm having an issue with my list. I've placed a <code>white-space: nowrap;</code> and a <code>display: inline;</code> where they belong, but for some reason there is still a line break after the <code>notes</code> list item. The output looks like this:</p> <pre><code>4 Months Ago 904 Notes Laughing Squid laughingsquid </code></pre> <p>When it should look like this:</p> <pre><code>4 Months Ago 904 Notes Laughing Squid laughingsquid </code></pre> <p>I cannot figure out what is causing the strange line break in the middle. Any help to clarify the issue and correct it would be awesome.</p> <p>HTML:</p> <pre><code>&lt;div class="meta"&gt; &lt;ul&gt; &lt;li class="date"&gt;&lt;i class="icon-time"&gt;&lt;/i&gt; &lt;a href="http://creativeplayground.tumblr.com/post/19181776541/laughingsquid-tifa-the-cat-thinks-shes-a-dog" title="Creative Playground"&gt;4 months ago&lt;/a&gt;&lt;/li&gt; &lt;li class="notes"&gt;&lt;i class="icon-heart"&gt;&lt;/i&gt; &lt;a href="http://creativeplayground.tumblr.com/post/19181776541/laughingsquid-tifa-the-cat-thinks-shes-a-dog#notes" title="Creative Playground"&gt;904 notes&lt;/li&gt; &lt;li class="source"&gt;&lt;i class="icon-info-sign"&gt;&lt;/i&gt; &lt;a href="http://laughingsquid.com/tifa-the-cat-thinks-shes-a-dog/" title="Laughing Squid"&gt;Laughing Squid&lt;/a&gt;&lt;/li&gt; &lt;li class="reblog"&gt;&lt;i class="icon-retweet"&gt;&lt;/i&gt; &lt;a href="http://links.laughingsquid.com/post/19181722635/tifa-the-cat-thinks-shes-a-dog" title="laughingsquid"&gt;laughingsquid&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;hr class="spacer"&gt; &lt;ul class="tags"&gt; &lt;li class="tags"&gt;&lt;i class="icon-tags"&gt;&lt;/i&gt;&lt;/li&gt; &lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/fancy-tag" title="fancy tag"&gt;fancy tag&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/sample-tage" title="sample tage"&gt;sample tage&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-1" title="tag 1"&gt;tag 1&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-2" title="tag 2"&gt;tag 2&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-3" title="tag 3"&gt;tag 3&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-4" title="tag 4"&gt;tag 4&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-5" title="tag 5"&gt;tag 5&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-6" title="tag 6"&gt;tag 6&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-7" title="tag 7"&gt;tag 7&lt;/a&gt;&lt;/li&gt;&lt;li class="tag"&gt;&lt;a href="http://creativeplayground.tumblr.com/tagged/tag-8" title="tag 8"&gt;tag 8&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>CSS:</p> <pre><code>.meta { width: 110%; margin: 5px -8px -8px -8px; padding: 5px; background-color: rgba(255,255,255,0.8); box-shadow: inset -5px 1px 5px #555; font-size: 10pt; color: #555; } .meta a:link, .meta a:visited { color: #555; } .meta &gt; ul, ul.tags { display: inline; list-style: none; margin: 0; } .meta &gt; ul &gt; li, li.tag { display: inline; margin: 0 8px 0 0; white-space: nowrap; } li.tag:before { content: "#"; } </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