Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here'd be my stab at it. Tested in Firefox 3 and IE7, so YMMV, but at least it'll degrade nicely.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;style type="text/css"&gt; #items { width: 300px; border-top:1px solid gray; } #items div { clear: left; overflow:hidden; padding: 5px 0; border-bottom:1px solid gray; } .key { width:100px; float:left; } .value { width:200px; float:left; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="items"&gt; &lt;div&gt; &lt;span class="key"&gt;price&lt;/span&gt; &lt;span class="value"&gt;1.5&lt;/span&gt; &lt;/div&gt; &lt;div&gt; &lt;span class="key"&gt;description&lt;/span&gt; &lt;span class="value"&gt;Some text about the product written here and will expand the height of this column&lt;/span&gt; &lt;/div&gt; &lt;div&gt; &lt;span class="key"&gt;availability&lt;/span&gt; &lt;span class="value"&gt;Yes&lt;/span&gt; &lt;/div&gt; &lt;div&gt; &lt;span class="key"&gt;Feature&lt;/span&gt; &lt;span class="value"&gt;Some feature about the product&lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>See also:</p> <ul> <li><a href="http://phrogz.net/css/WhyTablesAreBadForLayout.html" rel="nofollow noreferrer">Why Tables Are Bad For Layout</a></li> <li><a href="http://www.hotdesign.com/seybold/everything.html" rel="nofollow noreferrer">Why Tables For Layout Is Stupid</a></li> <li><a href="http://www.alistapart.com/articles/journey/" rel="nofollow noreferrer">From Table Hacks to CSS Layout: A Web Designer’s Journey</a></li> </ul>
    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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. 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