Tables and captions

The table should have width 300px, as should the caption (entirely above the table):

The table's caption.
DataData
DataData

The table should have width 300px, and the caption should have width 600px.

The table's caption.
DataData
DataData

The table should have width 600px, and the caption should have width 300px.

The table's caption.
DataData
DataData

The next four tables should have their caption on the top, with a 20px gap between the table and the caption.

The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData

The next four tables should have their caption on the right, with a 20px gap between the table and the caption.

The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData

The next four tables should have their caption on the bottom, with a 20px gap between the table and the caption.

The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData

The next four tables should have their caption on the left, with a 20px gap between the table and the caption.

The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData
The table's caption.
DataData
DataData

Valid HTML 4.0!

(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org