﻿table, td, th {
	border:1px solid green; border-collapse:collapse;
	padding: 5px;
}
th {
	text-align:right; font-style:italic;
	background-color:#F3F3E9;
	color:black;
	width:28%;
}
tr:first-child {
	background-color: #fff;
	color: black; font-weight:bold;
}
td {
	width:24%;
	text-align:center;
}


/*Table Color
The example above specifies the color of the borders, and the text and background color of the elements:Example 

table, td, th
{
border:1px solid green;
}
th
{
background-color:green;
color:white;
}

*/
/*--------- another example
<style>
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
th, td {
    padding: 5px;
}
th {
    text-align: left;
}
</style>         end */

/* Table Cells that Span Many Columns -------------

  <tr>
    <th>Name</th>
    <th colspan="2">Telephone</th>
  </tr>
  
/* Table Cells that Span Many rows -------------
  <tr>
    <th rowspan="2">Telephone:</th>
    <td>555 77 854</td>
  </tr>
  
  colors
  th {
	text-align:right; font-style:italic;
	background-color: green;
	color:white;
	width:28%;
}
tr:first-child {
	background-color: #B17D63;
	color: rgb(222, 184, 135);

  telos */