Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not too sure if this the right place to discuss float and display :)<br> But , flex is on his way, and display is already quiet efficient.</p> <p>Display + direction and you could kick floats away.<br> border-spacing version : <a href="http://jsfiddle.net/GCyrillus/2EZ3F/" rel="nofollow">http://jsfiddle.net/GCyrillus/2EZ3F/</a><br> border-left version : <a href="http://jsfiddle.net/GCyrillus/2EZ3F/1/" rel="nofollow">http://jsfiddle.net/GCyrillus/2EZ3F/1/</a></p> <pre><code>&lt;section&gt; &lt;div id="nav"&gt; &lt;div class="red"&gt;&lt;/div&gt; &lt;div class="green"&gt;&lt;/div&gt; &lt;div class="blue"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/section&gt; </code></pre> <p>section is to set direction .. or not<br> unset &amp; reset direction to fake float ,<br> else use text-align if you dislike this method.<br> In CSSheet, notice inline-table instead of table so it reacts to text-align and or direction (not all pages are EN or FR :) ) </p> <pre><code>body { padding: 0; margin: 0; } section { direction:rtl; /* unset regular if you wish, else text-align will do for inline-boxes */ } #nav { direction:ltr;/* reset/set here if you want cells from left to right */ display:inline-table; border-spacing: 10px 0 ; } #nav div { /*direction:ltr; reset here if you want cells from right to left */ display: table-cell; width: 120px; height: 40px; } #nav div + div { margin-left: 10px; } .red { background-color:#f00 } .green { background-color:#0f0 } .blue { background-color:#00f } </code></pre> <p>My 2 (late) cents for a different point of view :)</p>
    singulars
    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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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