Re: table cell space under image in IE

From: Date: Thu, 13 Mar 2003 17:07:27 +0000
Subject: Re: table cell space under image in IE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139546@lists.php.net to get a copy of this message
> Has anyone had to address this problem before? I've created a table and > placed an image inside. The image is around 12 pxl high and when the table > is displayed in Mozilla the cell border is up against the image on all > sides. On IE however, the top of the image is up against the cell border > but the bottom has aprox 10pxl of space. It is only there with the images, > only under the image, and only in IE (I've only checked v6). If anyone has > seen this and has an idea of how to fix it, PLEASE let me know. I've tried > setting cellspacing=0, cellpadding=0, and setting spacing to a range of > sized to see the effect and the smallest size it will move to is approx > 10pxls below the bottom of the image. Very frustrating! Do you have your code like <td><img></td> with no other whitespace? IE might be displaying a space or whitespace for some reason, whereas other browsers will ignore it. > I know this is not exactly on topic but I produce all html by php and I > don't want to go out and add myself to an html list (if there is such a > thing). Oh man... How horrible would that be?!? an HTML list??? ---John Holmes...

« previous php.general (#139546) next »