Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy <li> is displayed outside the container?
    text
    copied!<p>My tags cloud is currently out of order, for e.g: the tag "Arfen Plus" and "Children's Coltalin" are not properly rendered.</p> <p>How do I ensure the content in #dvTagCloudContent do NOT flow outside the container? How to make tags display like a normal paragraph ? THanks.</p> <p><strong>How it look right now</strong>:</p> <p><img src="https://i.stack.imgur.com/PLuER.png" alt="Result"></p> <p><strong>HTML</strong>:</p> <pre><code>&lt;div id="dvTagCloudContent"&gt; &lt;ul id="ulTagCloud"&gt; &lt;li class="TagCloudSmall"&gt;&lt;a href="/drug/info/1"&gt;Arfen Plus&lt;/a&gt;&lt;/li&gt; &lt;li class="TagCloudMedium"&gt;&lt;a href="/drug/info/2"&gt;Biogesic&lt;/a&gt;&lt;/li&gt; &lt;li class="TagCloudLarge"&gt;&lt;a href="/drug/info/3"&gt;&gt;Botox&lt;/a&gt;&lt;/li&gt; &lt;li class="TagCloudLarge"&gt;&lt;a href="/drug/info/4"&gt;&gt;Brumed&lt;/a&gt;&lt;/li&gt; &lt;li class="TagCloudMedium"&gt;&lt;a href="/drug/info/5"&gt;&gt;Children's Coltalin&lt;/a&gt;&lt;/li&gt; &lt;li class="TagCloudMedium"&gt;&lt;a href="/drug/info/6"&gt;Coldcap-A/Coldtab-2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p><strong>CSS</strong>:</p> <pre><code>#dvTagCloudContent { border: 1px solid #ccc; padding: 8px; min-height: 200px; width: 290px; line-height: 200%; } #ulTagCloud{ display:inline-block; list-style: none; padding: 0px 10px 0px 0px; font-size: 1.1em; line-height: 1.4; } #ulTagCloud li { display: inline;} .TagCloudSmall { font-size: small;margin-right: 5px; color: #ccc !important;} .TagCloudMedium { font-size: medium;margin-right: 5px; } .TagCloudLarge { font-size: large;margin-right: 5px;font-weight: bold;} </code></pre>
 

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