PDA

View Full Version : Using a table in the messages area of SFNT


lovebug
06-27-06, 07:14 AM
Hi everyone,

I hope you can help, I have been staring at this for hours.

I'm trying to spruce up my storefront by having a table in the "Messages" area in MIVA. It's a pretty basic table, 3 rows, 3 columns, with some column spans thrown in for interest.

I set the table width to 80% so that when it displays, it will accommodate the Category Tree.

The problem I am having is that the center row refuses to distribute itself evenly so that all the cells are equally spaced. I have tried several things, including: 1) Setting the columns with percentages in the center row; 2) Eliminating the percentages in the center row.

Nothing seems to help. In Dreamweaver, the table is beautifully spaced; in the live site, it is fubar.

Here is the code for my table - maybe you guys see something I don't? I'm removing the extraneous text so it's easier to read.


<table width="80%" border="0">
<tr>
<td colspan="3"> some text, spans across whole table
</td>
</tr>
<tr>
<td width="33%" valign="bottom"> Image #1
</td>
<td width="34%" valign="bottom"> Image #2
</td>
<td width="33%" valign="bottom"> Image #3
</td>
</tr>
<tr>
<td colspan="2"> More text that spans across 2 columns
</td>
<td width="25%" bgcolor="ffcc99"> An email form
</td>
</tr>
</table>


I really appreciate your eagle eyes!

Ebony

lovebug
06-27-06, 07:30 AM
Nevermind. I decided to try Ye Old Method of Troubleshooting, that is, by stripping it down to the very barest of elements and then adding them back one by one, I was able to identify the problem.

In case anyone is so bored they are still reading, the problem was I set my email form field width to 40 characters, which was too wide for the other table parameters and caused everything to get thrown off.