User:Michael/sandbox: Difference between revisions
From Starfy Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="collapsible" style="width: 100%; background: #fff;" | {| class="collapsible" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0" | ||
! | ! style="background: #e9e9e9;" | Collapsible | ||
|- | |- | ||
| | | 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 /><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 /><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 /><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] | |||
|} | |} |
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. |
Collapsed |
---|
This example uses class="collapsible collapsed" which shows the table collapsed on page load. |
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 |