Tables
Let’s take as an example an ordinary table 3х3.
Code
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
</table>
So here is a table and we want to change, for example, cell 2.3 (2-row, 3-cell)
We should find cell 2.3. As we know rows are indicated by <tr> tags,
and cells - by <td> tags, so in our table we have 3 pairs <tr></tr> and 9 pairs <td><td> and when looking at the code we can say that we have 3 rows with 3 cells each, and as we are changing 2.3, that means we skip the first pair <tr></tr> and 3 pairs <td><td> and proceed to the second pairе <tr></tr> where all our actions will take place. Here is this pair:
Code
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
Here we take cell 3 (<td width="34%">Data</td>) and change the background in it as we did it in body – choose the color and add the following
Example:
Code
<td width="34%" bgcolor="#FF0000">Data</td>
The same with the image
Code
<td width="34%" background="link to the file">Data</td>
Example:
Code
<td width="34%" background="http://www.ucoz.com/image/1.jpeg">Data</td>
If we want to change the color of the whole table and not of each cell, we should do the following.
Find our table
Code
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
<tr>
<td width="33%">Data</td>
<td width="33%">Data</td>
<td width="34%">Data</td>
</tr>
</table>
and add the following to <table> tag
Example:
Code
<table border="1" cellpadding="0" cellspacing="0" width="100%" bgcolor="#008000">
To set an image as a background see the examples above.
Code
<table border="1" cellpadding="0" cellspacing="0" width="100%" background="http://www.ucoz.com/image/1.jpeg">