posted 15 years ago
I have a table which have 3 columns. The first column is the holder for image (img tag), second column is always space ( ); and the third column is a text link.
I use this table to align the image and text link.
One weird thing is in some lines, td just wrap image well with no margins, no spacing and no padding. But for some other table lines, td is always 10 pixels wider than image width which causes the button alignment issue.
To solve this problem, i create a CSS rule as follow:
td { max-width:20px; width:20px}
20px is the width of the image. This rule works in FireFox3, but does not work for IE6.
Can anyone give me some clues about how to resolve the problem?
Thanks in advance