table not formatting correctly
I can not seem to get my table to format correctly and no matter how much I
look at it I can't find an error in my coding. There should be 7 columns in
the table. The first 6 are all 50 pixels wide, and the last should be the
remaining width of the page. The first 4 columns are working correctly, but
5 & 6 are coming out too wide for some reason. The code is below and I hope
someone can tell me what I'm doing wrong. The border is on so it's easier
to troubleshoot.
Thanks in advance.
<table width="100%" border="1" cellspacing="0">
<tr>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td colspan="4">TARIFF MAPPING/APPROVAL</td>
</tr>
<tr>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50"> </td>
<td colspan="3">Pull old Tariff pages from Teleview for reference</td>
</tr>
<tr>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50"> </td>
<td width="50"> </td>
<td colspan="2" align="left">O:\audit\entry.xls</td>
</tr>
<tr>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50" align="center" valign="top">______</td>
<td width="50"> </td>
<td width="50"> </td>
<td width="50"> </td>
<td>Date: ________</td>
</tr>
Re: table not formatting correctly
What problem are you encountering? If you don't specify the table width, it
won't take the rest of the available space: it will take what it thinks it
needs. See whether
<td WIDTH="*">Date: ________</td>
improves the situation
--
Doug Steele, Microsoft Access MVP
Beer, Wine and Database Programming. What could be better?
Visit "Doug Steele's Beer and Programming Emporium"
http://I.Am/DougSteele/
Brian <brian.martens@wcom.com> wrote in message
news:3912cf17$1@news.devx.com...
> I can not seem to get my table to format correctly and no matter how much
I
> look at it I can't find an error in my coding. There should be 7 columns
in
> the table. The first 6 are all 50 pixels wide, and the last should be the
> remaining width of the page. The first 4 columns are working correctly,
but
> 5 & 6 are coming out too wide for some reason. The code is below and I
hope
> someone can tell me what I'm doing wrong. The border is on so it's easier
> to troubleshoot.
>
> Thanks in advance.
>
> <table width="100%" border="1" cellspacing="0">
> <tr>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td colspan="4">TARIFF MAPPING/APPROVAL</td>
> </tr>
> <tr>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50"> </td>
> <td colspan="3">Pull old Tariff pages from Teleview for reference</td>
> </tr>
> <tr>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50"> </td>
> <td width="50"> </td>
> <td colspan="2" align="left">O:\audit\entry.xls</td>
> </tr>
> <tr>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50" align="center" valign="top">______</td>
> <td width="50"> </td>
> <td width="50"> </td>
> <td width="50"> </td>
> <td>Date: ________</td>
> </tr>
>
>