How To Use Tables: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(moved How To Use Tables to Help:How To Use Tables: Moving to the Help namespace)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[http://en.wikipedia.org/wiki/Help:Table http://en.wikipedia.org/wiki/Help:Table]
#REDIRECT [[Help:How To Use Tables]]
 
 
{|border=1
|-valign=top
|height=40|small
|<big>big</big>
|-valign=middle
|height=40|small
|<big>big</big>
|-valign=bottom
|height=40|small
|<big>big</big>
|-valign=baseline
|height=40|small
|<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:In Progress]]

Latest revision as of 18:41, 8 April 2014