Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com test pages: tables - padding

Padding on table cells

The following table has cellpadding=100:

Some text

The following table has padding: 100 pixels on the table cell and therefore should look the same (i.e., padding applied to all four sides):

Content

Padding on tables

This table should have a lot of blue padding:

Some text

That should look similar to this mockup of the correct appearance:

     
  Some text  
     

Padding on table rows and columns

Some text
Some text

Some text

That should look like this because padding has no effect on columns:

Some text

Cellpadding vs. padding test

This is a table with cellpadding=50:

Some text

This is the same thing but with padding: 0 on the table cell, which should override the cellpadding:

Some text

This caption, which incidentally should be right-aligned, should have 100 pixels of padding and a green border.
Cell