Hi everyone!I'm trying to learn how to do a table like this:I've write the outer borders with this code:
<div align="center"> <table width="585" border="0" cellpadding="0" cellspacing="0" style="background-image: url('tablas_med.jpg');"> <tr> <td style="background-image: url('tablas_sup.jpg')" colspan="$columnas" height="10"></td> </tr> <tr><td>contenido</td></tr> <tr> <td style="background-image: url('tablas_inf.jpg')" colspan="$columnas" height="10"></td> </tr> </table> </div>
Now I need a way to get inner blue borders without drawing over the outers. I've tried with this:
<td style="border-style: solid; border-right-width: 1px; border-left-width: 0px; border-top-width: 0px; border-bottom-width: 1px; border-color: #00376F #2D6298 #2D6298 #00376F"
But then I've to write a code for each TD, and I'm generating the table with PHP without knowing the number of Rows neither the number of TDs.Is there any way?Thanks in advance!