On 6 Mar 2006, at 02:21, Philippe Wittenbergh wrote:
> Images are inline elements, and thus rest on the base-line.
> Solutions:
> #wrapper img {display:block;}
> or
> #wrapper img {vertical-align:bottom;}
>
> Read more in this oldie:
> <http://developer.mozilla.org/en/docs/
> Images,_Tables,_and_Mysterious_Gaps>
Thanks very much. That makes perfect sense. I should have picked up
the clue in the fact that the size of the padding is sensitive to
font size, which is because room required by the descenders of p, q,
etc. changes (thanks David!)
-- Mike
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/