I've got my problem down to a very simple example that shows it.
Basically, I have an html table in a header file, and an html in my
body. Both have the same width, and the same number of columns. One
table has 2 actual columns (that span 3 columns each) and the other
has 6 columns (no spanning).
Problem is the two tables don't line up.
What am I not understanding or setting? I'm thinking they should line
up. They don't in IE or firefox.
Here's the simple HTML:
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><tit le>
Problem Child Code
</title></head>
<body>
<form name="form1" method="post" action="Default 5.aspx"
id="form1">
<div>
<input type="hidden" name="__VIEWSTA TE" id="__VIEWSTATE "
value="/wEPDwUJOTI1NTQ5 NTU3ZGQ=" />
</div>
<div>
<table id="TableFindEm ail" border="0"
cellpadding="0" >
<tr>
<td style="width: 134px;">
1
</td>
<td style="width: 133px;">
2
</td>
<td style="width: 133px;">
3
</td>
<td style="width: 133px;">
4
</td>
<td style="width: 133px;">
5
</td>
<td style="width: 134px;">
6
</td>
</tr>
</table>
<table id="Table1" border="0" cellpadding="0" >
<tr>
<td style="width: 400px" colspan="3">
1
</td>
<td style="width: 400px" colspan="3">
4
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Peter Kellner
http://peterkellner.net