User:Michael/sandbox: Difference between revisions

From Starfy Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 4: Line 4:
| style="border-top: 1px #000 solid;" | This example uses '''class="collapsible"''' which will show the whole table and give the option to hide it.
| 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 />
<br />
{| class="collapsible collapsed" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
{| class="collapsible collapsed" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! style="background: #e9e9e9;" | Collapsed
! style="background: #e9e9e9;" | Collapsed
Line 10: Line 10:
| style="border-top: 1px #000 solid;" | This example uses '''class="collapsible collapsed"''' which shows the table collapsed on page load.
| style="border-top: 1px #000 solid;" | This example uses '''class="collapsible collapsed"''' which shows the table collapsed on page load.
|}
|}
 
<br />
<br /><br />
{| class="collapsible autocollapse" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
{| class="collapsible autocollapse" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! style="background: #e9e9e9;" | Autocollapse
! style="background: #e9e9e9;" | Autocollapse
Line 17: Line 16:
| 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.
| 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 /><br />
{| class="collapsible" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
{| class="collapsible" style="width: 100%; background: #fff; border: 2px #cecece solid;" cellpadding="3" cellspacing="0"
! style="background: #e9e9e9;" | More Information
! style="background: #e9e9e9;" | 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