Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ok, here my try:</p> <p>Apply the three column css layout</p> <pre><code>.col-columned{ width: 450px; } .col-maincontainer{ width: 450px; /*Width of main container*/ margin: 0 auto; /*Center container on page*/ } .col-maincontainer ul, .col-maincontainer ul{ margin: 0; padding: 0; list-style-type: none; } .col-contentwrapper{ float: left; width: 100%; } .col-contentcolumn{ margin: 0 190px 0 180px; /*Margins for content column. Should be "0 RightColumnWidth 0 LeftColumnWidth*/ } .col-leftcolumn{ float: left; width: 150px; /*Width of left column in pixel*/ margin-left: -450px; /*Set margin to that of -(MainContainerWidth)*/ background: #C8FC98; } .col-rightcolumn{ float: left; width: 150px; /*Width of right column*/ margin-left: -150px; /*Set left margin to -(RightColumnWidth)*/ background: #FDE95E; } .col-innertube{ margin: 3px; /*Margins for inner DIV inside each column (to provide padding)*/ margin-top: 0; } </code></pre> <p>And then, add a new element with the html markout of three columns:</p> <pre><code>&lt;a class="drop-link"&gt;Example1&lt;/a&gt; &lt;ul class="dropdown col-columned"&gt; &lt;li&gt; &lt;div class="col-maincontainer"&gt; &lt;div class="col-contentwrapper"&gt; &lt;div class="col-contentcolumn"&gt; &lt;div class="col-innertube"&gt; &lt;div class="wiki-tree"&gt; &lt;ul&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="col-leftcolumn"&gt; &lt;div class="col-innertube"&gt; &lt;div class="wiki-tree"&gt; &lt;ul&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="col-rightcolumn"&gt; &lt;div class="col-innertube"&gt; &lt;div class="wiki-tree"&gt; &lt;ul&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="dropdown-title"&gt;topic3&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>Make sure to add the <code>col-columned</code> to the dropdown element like this:</p> <pre><code>&lt;ul class="dropdown col-columned"&gt; </code></pre> <p>Here the live example: <a href="http://jsfiddle.net/8fgG5/1/" rel="nofollow">http://jsfiddle.net/8fgG5/1/</a></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.
 

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