When I fill table cells with colors and set cellspacing=0,
cellpadding=0, border=0, I can get the cells to butt right up against
one another both vertically and horizontally. However, when I fill
the same cells with an image I can't get them to butt up against one
another vertically although they
On 2008-11-23 12:00, Doug Jolley wrote:
> When I fill table cells with colors and set cellspacing=0,
> cellpadding=0, border=0, I can get the cells to butt right up against
> one another both vertically and horizontally. However, when I fill
> the same cells with an image I can't get them to butt
> if you add
>
> td img {display:block}
>
> it should work.
It did work. Thanks very much.
Now that I understand the basis of the problem, I was inclined to try:
td img {vertical-align: bottom}
That also seemed to work. I'm curious as to whether you see that as
being an acceptable alternative
On 2008-11-23 14:59, Doug Jolley wrote:
> Now that I understand the basis of the problem, I was inclined to try:
>
> td img {vertical-align: bottom}
>
> That also seemed to work. I'm curious as to whether you see that as
> being an acceptable alternative solution.
In some cases, that might be s