Forum Moderators: not2easy
I have the following
<table class=my_table>
<tr>
<td>something</td>
<td>something</td>
</tr>
<tr>
<td>something</td>
<td>something</td>
</tr>
<tr>
<td>something</td>
<td>something</td>
</tr>
</table>
How do I in css set each of the cells of this particular table to have a certain property. e.g. I want the padding of each cell to be 5px.
I can't set it in the table because it's a cell property but I can't work out how to reference all the cells within the table without specifically assigning them to a class.
Can someone please explain for me?