I am trying to create some styles for table with solid 1px black border around the table (the normal table border) and the
I should look like a grid.
I want to make it possible with the least number of possible styles.
<table class=”grid”>
<tr class=”light”>
<td>tr1 td1</td>
<td>tr1 td2</td>
</tr>
<tr class=”dark”>
<td>tr2 td1</td>
<td>tr2 td2</td>
</tr>
</table>
“light” and “dark” are classes used to color the rows accordingly.
Don’t laught at me but I have spent days to find a good solution for this. I have separate classes for the leftmost td and something like this ?
please help this poor java programmer with no knowledge of css