Phil,
You haven't followed my example properly, you've made both columns
504 pixels wide in your version, which is
too wide for the space on your page. Actually, a better way to display table cells is to use a percentage. This means that the page will 'flex' based on the screen resolution of your visitors desktop settings.
OK, lets try again with percentages instead
:
# Print Header.
$output = qq|<div class="margin"><table
width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top"
width="50%">\n|;
# We check to see if we are half way through, if so we stop this table cell
# and begin a new one (this lets us have category names in two columns).
($i and ($i % $breakpoint)) or ($output .= qq|</td><td class="catlist" valign="top"
width="50%">\n|);
This will give you a TABLE that is 100% of the screen width where you are displaying it (even if its a nested table, i.e.;
within another table cell)
In Reply To:
I need the Columns to both be the same width
This will also give you TWO columns, each with a width of 50% (half each).
Have another go, and if you don't get the results you expect come back and I'll try to help you by email :)
All the best
Shaun