|
Posted by Jim Moe on April 19, 2006, 2:01 am
Please log in for more thread options
Peter Kellner wrote:
> 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).
>
> <table id="TableFindEmail" border="0" cellpadding="0">
> [6 columns removed]
> </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>
>
What columns do you expect the second table to span? There are only the
two columns, therefore the colspan is spurious and ignored. The first
table has 6 columns but that is irrelevant to the second table.
If you combine the two tables into one, the columns are aligned.
Your example does not demonstrate your stated problem. It looks okay in
my browser (Mozilla). Until I add borders. You have a "pixel perfect"
design and almost anything will cause it to fall apart. So I suspect you
have left something out, like CSS that adds spacing, borders, margin, etc.
Provide an URL for a test case. It's the only way to be sure.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|