I am having a problem viewing a centered table using Firefox. When the
page is long enough to scroll, the alignment moves slightly to the
left. The alignment doesn't change when I view the page with IE. Here
is the code:
Table 1:
<table width="100%">
<tr><td >
<div align="center">
<table border="1" style="width:80 0; margin-left:auto;
margin-right:auto;">
<tr><td></td></tr>
</table>
</div>
</td></tr>
</table>
Table 2:
<table width="100%" >
<tr><td >
<div align="center">
<table border="1" style="width:80 0; margin-left:auto;
margin-right:auto; height:1000px;" >
<tr><td></td></tr>
</table>
</div>
</td></tr>
</table>
Am I missing something?
page is long enough to scroll, the alignment moves slightly to the
left. The alignment doesn't change when I view the page with IE. Here
is the code:
Table 1:
<table width="100%">
<tr><td >
<div align="center">
<table border="1" style="width:80 0; margin-left:auto;
margin-right:auto;">
<tr><td></td></tr>
</table>
</div>
</td></tr>
</table>
Table 2:
<table width="100%" >
<tr><td >
<div align="center">
<table border="1" style="width:80 0; margin-left:auto;
margin-right:auto; height:1000px;" >
<tr><td></td></tr>
</table>
</div>
</td></tr>
</table>
Am I missing something?
Comment