How To Use Tables: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 16: | Line 16: | ||
|<big>big</big> | |<big>big</big> | ||
|- | |- | ||
|} | |||
== Frames == | |||
This example demonstrates how to use the "frame" attribute to control the borders around a table. This feature is only supported in modern browsers. Each example changes only the frame parameter: | |||
<pre style="width:160px; align=center"> | |||
{|frame="??" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
</pre> | |||
{|cellpadding=20 | |||
|-align=center | |||
|frame="border"<br><br> | |||
{|frame="border" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|frame="above"<br><br> | |||
{|frame="above" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|frame="below"<br><br> | |||
{|frame="below" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|-align=center | |||
|frame="hsides"<br><br> | |||
{|frame="hsides" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|frame="vsides"<br><br> | |||
{|frame="vsides" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|frame="lhs"<br><br> | |||
{|frame="lhs" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|-align=center | |||
|frame="rhs"<br><br> | |||
{|frame="rhs" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|frame="box"<br><br> | |||
{|frame="box" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|frame="void"<br><br> | |||
{|frame="void" | |||
!A | |||
!B | |||
|- | |||
|100 | |||
|200 | |||
|} | |||
|} | |} | ||
[[Category:Help]] | [[Category:Help]] | ||
[[Category:In Progress]] | [[Category:In Progress]] |
Revision as of 18:14, 30 March 2010
http://en.wikipedia.org/wiki/Help:Table
small | big |
small | big |
small | big |
small | big |
Frames
This example demonstrates how to use the "frame" attribute to control the borders around a table. This feature is only supported in modern browsers. Each example changes only the frame parameter:
{|frame="??" !A !B |- |100 |200 |}
frame="border"
|
frame="above"
|
frame="below"
| ||||||||||||
frame="hsides"
|
frame="vsides"
|
frame="lhs"
| ||||||||||||
frame="rhs"
|
frame="box"
|
frame="void"
|