Chris Williams wrote:

> I'm sure it's obvious, and I'm sure it's somewhere in the Wiki pages on
> IE7, but I can't find it.

It's related to your convoluted use of negative margins to overcome 
padding on the box.

the fix is to remove padding from the .box and add margin to the 
elements inside the .box to give the same "space", then your h5 
background will fill the box and a little bit of padding on the h5 will 
space the text away from the edges.

IE7 is seeing bottom-margin: -6px as an instruction to bring the bottom 
edge of the h5 box 6px inside the box, rather than stretching the box 
6px bigger than needed for the text.

I'm not sure what *correct* behaviour should be, but maybe someone more 
enlightened will explain that.

I do know that I wouldn't have done it the way you did and I'm also 
curious about why the list of what's new ul is inside an h2 element 
(invalid construction AIUI)

hth







-- 
Join me: http://wiki.workalone.co.uk/
Thank me: http://www.amazon.co.uk/gp/registry/1VK42TQL7VD2F
Engage me: http://www.boldfish.co.uk/portfolio/

______________________________________________________________________
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/

Reply via email to