I gave up getting the regular table attributes to work correctly in all browsers, so I shifted to stylesheets instead, which seem to be more uniformly handled in all browsers.
The value to look for is called padding, and the syntax is: padding: x x x x; where each x is a lenth value, and the order is top, right, bottom, left. You can also use padding-top, padding-bottom, padding-left, padding-right instead. Lengths without marker are treated as points, and are thus the same as pt. Other options are px (for pixel), %, and mm and cm. But the two last are not good to use, as the calculation assumes the monitor is 96 dpi (because 640x480 to 1024x768 uses 96 dpi fonts, all res above use 120 dpi). HTH Rene On Thu, 13 Mar 2003 11:58:57 -0500, Larry Brown wrote about "[PHP] table cell space under image in IE" what the universal translator turned into this: >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! > >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). -- Rene Brehmer This message was written on 100% recycled spam. Come see! My brand new site is now online! http://www.metalbunny.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php