J
JCO
Issues with a table not displaying correctly.
A table with 5-columns is easy to create. I want the first two columns and
last two columns to remain fix and the center column to be 100%. By doing
this, I'm hoping that the center column will expand and contract when you
change your browser size. Here's the bigger issue. If I have a table with
4-rows as displayed below, then created another 4-row table underneath
(maybe a blank line in between) I want the two tables to line up together.
This does not happen. Why?
This is what I have:
<table border="1" cellpadding="3" cellspacing="3" width="100%"
id="table5" style="border-color: #008080">
<tr>
<td width="100" align="center"><u><b>Date Start</b></u></td>
<td width="100" align="center"><u><b>Date End</b></u></td>
<td width="100%" align="center"><u><b>Activity</b></u></td>
<td width="100" align="center"><u><b>Expenses</b></u></td>
<td width="100" align="center"><u><b>Payments</b></u></td>
</tr>
This will repeat for each row that I require.
A table with 5-columns is easy to create. I want the first two columns and
last two columns to remain fix and the center column to be 100%. By doing
this, I'm hoping that the center column will expand and contract when you
change your browser size. Here's the bigger issue. If I have a table with
4-rows as displayed below, then created another 4-row table underneath
(maybe a blank line in between) I want the two tables to line up together.
This does not happen. Why?
This is what I have:
<table border="1" cellpadding="3" cellspacing="3" width="100%"
id="table5" style="border-color: #008080">
<tr>
<td width="100" align="center"><u><b>Date Start</b></u></td>
<td width="100" align="center"><u><b>Date End</b></u></td>
<td width="100%" align="center"><u><b>Activity</b></u></td>
<td width="100" align="center"><u><b>Expenses</b></u></td>
<td width="100" align="center"><u><b>Payments</b></u></td>
</tr>
This will repeat for each row that I require.