I have a number of tables which are nested in a cell of another table. I wish to space the content a percentage away from the side of the cell. The stylesheet and HTML below work fine in IE6 but not in NS7 where no padding is displayed.
section of the style sheet:
td#home-graphic{
padding: 5% 0;}
section of the HTML:
etc....
<td id="home-graphic" width="78%">
<div align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="15%" height="44"> </td>
<td class="home-graphic-border" width="10%" height="44"> </td>
<td class="home-graphic-border" width="10%" height="44"><img src="images/pic1.jpg" width="95" height="59"></td>
<td class="home-graphic-border-text" width="51%" height="44">Engineering
Solutions</td>
<td width="14%" height="44"> </td>
</tr>
</table>
etc...
Can anyone help?
Angus
section of the style sheet:
td#home-graphic{
padding: 5% 0;}
section of the HTML:
etc....
<td id="home-graphic" width="78%">
<div align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="15%" height="44"> </td>
<td class="home-graphic-border" width="10%" height="44"> </td>
<td class="home-graphic-border" width="10%" height="44"><img src="images/pic1.jpg" width="95" height="59"></td>
<td class="home-graphic-border-text" width="51%" height="44">Engineering
Solutions</td>
<td width="14%" height="44"> </td>
</tr>
</table>
etc...
Can anyone help?
Angus