Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to align 2 divs inside one div container with CSS (see image)
    primarykey
    data
    text
    <p>I am making a little layout width exactly 6 divs, and I tried various times to align it with float align, clear:both and changing height/width, but without success. I want something like this image: <a href="http://i.stack.imgur.com/j1jxX.png" rel="nofollow">http://i.stack.imgur.com/j1jxX.png</a></p> <p>HTML source:</p> <pre><code> &lt;div id="description"&gt; &lt;div class="itemDescription"&gt;&lt;!--Item 1--&gt; &lt;div class="imageDescription"&gt;&lt;/div&gt; &lt;div class="textDescription"&gt; &lt;div class="titleDescription"&gt;Encontre pessoas&lt;/div&gt; &lt;div class="detailDescription"&gt;Encontre facilmente pessoas com um buscador inteligente&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="itemDescription"&gt;&lt;!--Item 2--&gt; &lt;div class="imageDescription"&gt;&lt;/div&gt; &lt;div class="textDescription"&gt; &lt;div class="titleDescription"&gt;Encontre pessoas&lt;/div&gt; &lt;div class="detailDescription"&gt;Encontre facilmente pessoas com um buscador inteligente&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p></p> <p>CSS source:</p> <pre><code>#description { width: 96%; background: rgb(244, 244, 0); } .itemDescription { padding: 8px; border: solid 1px red; } .imageDescription { float: left; height: 72px; width: 20%; background-image: url(http://addons.opera.com/media/extensions/75/86675/1.0-rev2/icons/icon_64x64.png); background-position: center center; background-repeat: no-repeat; border-right: solid 3px black; } .textDescription { float: left; width: 70%; border: solid 3px blue; } .titleDescription { border: solid 3px brown; } .detailDescription { border: solid 3px black; padding: 10px; } </code></pre> <p>here is my JSFiddle: <a href="http://jsfiddle.net/5xhQk/" rel="nofollow">http://jsfiddle.net/5xhQk/</a></p> <p>Thanks too all you</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