Código PHP:
<style type="text/css">
#tabla_detalle{
width:569px;
border:solid 1px #CCCCCC;
border-collapse:collapse;
background:#FFFFFF;
}
.superior{
background-color:#0000FF;
text-align:center;
}
.cell1{
width:50px;
border-left:solid 2px #CCCCCC;
border-right:solid 2px #CCCCCC;
border-top: solid 2px #CCCCCC;
border-bottom: solid 2px #CCCCCC;
}
.cell2{
border-left:solid 2px #CCCCCC;
border-right:solid 2px #CCCCCC;
border-top: solid 2px #CCCCCC;
border-bottom: solid 2px #CCCCCC;
width:400px;
}
</style>
<table id="tabla_detalle">
<tr class="superior">
<td class="cell1">N</td>
<td class="cell2">Producto</td>
<td class="cell1">Precio uni.</td>
<td class="cell1">Cant.</td>
<td class="cell1">Total</td>
</tr>
<td class="cell1">1</td>
<td class="cell2">Pan</td>
<td class="cell1">500</td>
<td class="cell1">1</td>
<td class="cell1">500</td>
<tr>
<td class="cell1">2</td>
<td class="cell2">Bebida</td>
<td class="cell1">800</td>
<td class="cell1">2</td>
<td class="cell1">1600</td>
</tr>
</table>