This is more of a CSS issue than PHP, but this should do.
Note that the colors I used are just guesses, I dont know what they actually look like so change them how ever you like.
Code:
body {
background-color:#7c7;
}
table {
border:1px solid #383;
color:#fff;
}
th {
background-color:#383;
text-weight:bold;
text-align:center;
}
td {
text-align:center;
border-right:1px solid #383;
border-left:1px solid #383;
}
td.leftcol {
text-align:left;
font-weight:bold;
}
Code:
<table>
<tr>
<th> </th>
<th>Mat</th>
<th>Inns</th>
<th>...</th>
</tr>
<tr>
<td>Tests</td>
<td>35</td>
<td>65</td>
<td>...</td>
</tr>
<tr>
<td>ODIs</td>
<td>103</td>
<td>81</td>
<td>...</td>
</tr>
</table>
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
Last edited by lizciz; 04-12-2009 at 05:21 AM..
|