Illustrating Tables: example 8.6

A basic table with collapsed borders.

First row
first column
First row
second column
Second row
first column
Second row
second column
Third row
first column
Third row
second column

The style rules:

           body {margin: 25px;
                 background-color: #ffffff;
                 color: black;}
           table {border: solid thin red;
                  padding: 15px;
                  background-color: yellow;
                  
                  border-collapse: collapse
                  
                  }
           td   {padding: 10px; 
                 border: solid thin blue;
                 text-align: center;
                 background-color: #cccccc}