CSS2 Table Backgrounds Test Suite

Part A: Background Area

Background on 'table-cell'

Each cell's background should fill the rectangle defined by its border edge. There should be no gaps or holes in the background within a cell.

A purple band should align with the top padding edge of each cell, and an orange stripe should align a few pixels to the left of its right padding edge.

next
Background Position: Background on 'table'
previous
Background Area: Background on 'table-column'
contents
Table of Contents
With 'border-collapse: separate'
TH A TH B TH C TH D
TD M TD O TD P
TD E TD F TD G TD H
TD J TD K TD L
With 'border-collapse: collapse'
TH A TH B TH C TH D
TD M TD O TD P
TD E TD F TD G TD H
TD J TD K TD L
Valid HTML 4.01!
CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasai@escape.com>