IE 6 and 7 appear to be doubling the bottom padding. You can test for this by increasing the padding
to a large number and watching the bottom grow twice the size. If you subsequently set padding-bottom: 0
, it will be the right size for these versions of IE.
I can't explain why it's happening. I think it's probably due to the fact that there is a series of nested iframes inside Google's iframe, but even if you address your frame specifically using id-based CSS, it still happens.
I would simply apply a conditional stylesheet for IE6 and IE7 that sets padding-bottom: 0
. Something like this:
<style type="text/css">
iframe { padding: 4px ; border: 1px solid #d5d5d5; }
.clear { clear: both; }
</style>
<!--[if lte IE 7]>
<style type="text/css">
iframe { padding-bottom: 0 }
</style>
<![endif]-->