Problem with colspan
Status: Abandoned
Brought to you by:
renatoac
Hi,
I was having a problem with table cells with a colspan
attribute. The width was being incorrectly calculated,
forcing cells in the given column to screw up.
To fix it I changed line 2543 from:
if ($minwidth < 0 and (-$minwidth) > $wc['miw'])
$wc['miw'] = (-$minwidth) +2; //increase minimum width
to
if ($minwidth < 0 and (-$minwidth) > $wc['miw'])
$wc['miw'] = $minwidth+2; //increase minimum width
All I've done is removed the minus sign from the final
$minwidth as this was effectively a double negative.
Now it seems to work fine.
Cheers,
Paul