User:Michael/sandbox: Difference between revisions

From Starfy Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable collapsible" style="width: 100%; background: #fff;"
{| class="collapsible" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! ''Test''
! style="background: #e9e9e9;" | Collapsible
|-
|-
|test
| style="border-top: 1px #000 solid;" | This example uses '''class="collapsible"''' which will show the whole table and give the option to hide it.
|}
<br />
{| class="collapsible collapsed" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! style="background: #e9e9e9;" | Collapsed
|-
| style="border-top: 1px #000 solid;" | This example uses '''class="collapsible collapsed"''' which shows the table collapsed on page load.
|}
<br />
{| class="collapsible autocollapse" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! style="background: #e9e9e9;" | Autocollapse
|-
| style="border-top: 1px #000 solid;" | This example uses '''class="collapsible autocollapse"''' which automatically collapses the table when there are 2 or more other collapsible tables on the page.
|}
<br />
{| class="collapsible" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! style="background: #e9e9e9;" | More Information
|-
| style="border-top: 1px #000 solid;" | [http://en.wikipedia.org/wiki/Wikipedia:Collapsible_tables More information]
|}
|}

Latest revision as of 18:41, 20 March 2011

Collapsible
This example uses class="collapsible" which will show the whole table and give the option to hide it.



Autocollapse
This example uses class="collapsible autocollapse" which automatically collapses the table when there are 2 or more other collapsible tables on the page.


More Information
More information