jasonc310771
02-22-2008, 08:50 PM
i have this last piece of code to convert, please can someone tell me the correct way to code this in CSS.
thank you
#index-container {
border: 1px solid #fff;
background: #507bcd;
}
#index-content {
margin: 8px;
}
<table width="319" align="center" style="border-collapse:collapse;">
<tr>
<td width="311" height="126" valign="top" bgcolor="#000000">
<table width="100%" cellpadding="8" style="border-collapse:collapse;">
<tr>
<td valign="top">
<div align="center" id="index-container">
<div>a</div>
</div>
</td>
<td rowspan="3" valign="top" nowrap>b</td>
</tr>
</table>
</td>
</tr>
</table>
thank you
#index-container {
border: 1px solid #fff;
background: #507bcd;
}
#index-content {
margin: 8px;
}
<table width="319" align="center" style="border-collapse:collapse;">
<tr>
<td width="311" height="126" valign="top" bgcolor="#000000">
<table width="100%" cellpadding="8" style="border-collapse:collapse;">
<tr>
<td valign="top">
<div align="center" id="index-container">
<div>a</div>
</div>
</td>
<td rowspan="3" valign="top" nowrap>b</td>
</tr>
</table>
</td>
</tr>
</table>