Summary: aligned cells in simple tables have additional spaces
Created: 2005-03-22 15:53
Status: Closed - fixed for 2.0.0
Description: When alignment is used in simple tables the text is surrounded with additional spaces. This does normally not have effect with normal text, but when graphics are used then with IE (only with IE)there is always a little bit of space (vertically) between two lines. Therefore it is not possible to align graphics properly (without holes) vertically.
At the moment:
As you can see in the second and third example there are additional spaces (which should not be there, as they could lead to display problems with IE). Here the leading or trailing spaces coming from the markup should be removed, and then there won't be any problem anymore.
BTW: Also when no alignment attribute is available an unnecessary space is visible. Maybe the following line in the Function
$y .= "<$t $attr>".$td[$i]."</$t>"
$y .= "<$t$attr>".$td[$i]."</$t>"
(not a big thing, but still would give cleaner code)