On Wednesday, May 4, 2011, 12:32:39 PM, Philippe Wittenbergh wrote:

> On May 4, 2011, at 7:41 PM, Geoff Lane wrote:

>> For some reason unknown to me, HTML 5 renders table cells that contain
>> only inline images with one or more whitespace margins while HTML 4
>> does not. The fix is relatively simple as all that is needed is to
>> change 'display' of the images from 'inline' (or default) to 'block'.

> Nothing really mysterious, and this oldie:

> https://developer.mozilla.org/en/Images,_Tables,_and_Mysterious_Gaps

That makes so much more sense with the explanation in your link.
Typographically, it makes sense for everything to 'sit on' the
baseline. Since the browser must leave space below the baseline for
descenders, of course there's going to be a 'whitespace border' the
height of the descenders of the applicable font under each image.

Many thanks for the illumination,

-- 
Geoff

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to