Difference between revisions of "Collapsible elements"
Line 17: | Line 17: | ||
</div> | </div> | ||
==Method 3== | ==Method 3== | ||
− | <div class="NavFrame"> | + | <div class="NavFrame" style="width:600px"> |
<div class="NavHead">'''Navigation table'''</div> | <div class="NavHead">'''Navigation table'''</div> | ||
<div class="NavContent mw-collapsible"> | <div class="NavContent mw-collapsible"> |
Revision as of 08:29, 1 July 2015
Method 1
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px">
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is collapsed when you open the page.
</div>
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is collapsed when you open the page.
Method 2
<div class="toccolours mw-collapsible" style="width:600px">
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is not yet collapsed when you open the page, but you can hide that content.
</div>
Let's say this is your text, or table, or any other content. When you use the code above, it creates a box of 600 pixels wide, and the content is not yet collapsed when you open the page, but you can hide that content.
Method 3
Let's say you want to make a navigation table at the bottom of the page that looks like you can find on this page...[1]