Latest recipes tagged "grid"http://code.activestate.com/recipes/tags/grid/new/2016-10-30T22:25:05-07:00ActiveState Code RecipesTkinter. Grid with panes (Python) 2016-10-30T22:25:05-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/578870-tkinter-grid-with-panes/ <p style="color: grey"> Python recipe 578870 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/grid/">grid</a>, <a href="/recipes/tags/paned/">paned</a>, <a href="/recipes/tags/panedgrid/">panedgrid</a>, <a href="/recipes/tags/panedwindow/">panedwindow</a>, <a href="/recipes/tags/tkinter/">tkinter</a>, <a href="/recipes/tags/widget/">widget</a>). Revision 19. </p> <p>DESCRIPTION: Grid of widgets with paned columns or rows. You can resize every panel dragging. You can also indicate which panels are fixed and the width and height of every row and column manually.</p> <p>Requires Python version greater than 2.7.7.</p> quick 3-column grid CSS (CSS) 2010-09-15T17:13:26-07:00Trent Mickhttp://code.activestate.com/recipes/users/4173505/http://code.activestate.com/recipes/577391-quick-3-column-grid-css/ <p style="color: grey"> CSS recipe 577391 by <a href="/recipes/users/4173505/">Trent Mick</a> (<a href="/recipes/tags/column/">column</a>, <a href="/recipes/tags/grid/">grid</a>, <a href="/recipes/tags/layout/">layout</a>). </p> <p>CSS snippet for a 3-column grid. Based on that used for some Apple product pages.</p> <p>HTML:</p> <pre class="prettyprint"><code>&lt;div class="grid3col"&gt; &lt;div class="column first"&gt; ... &lt;/div&gt; &lt;div class="column"&gt; ... &lt;/div&gt; &lt;div class="column last"&gt; ... &lt;/div&gt; &lt;/div&gt; </code></pre> <p>In general, you have to recalculate the widths based on (a) the available full width in your pages and (b) the amount a spacing you want between columns.</p>