Re: [css-d] IE 7 - Extra padding-top

2006-10-23 Thread Nate Kresse
Correction: You moved the background style to the paragraph inside the containing div. Thanks, Nate On 10/23/06 12:22 PM, "Nate Kresse" <[EMAIL PROTECTED]> wrote: > David, > > I don't believe "tight coding" had anything to do with it. You simply moved > the background style to the containin

Re: [css-d] IE 7 - Extra padding-top

2006-10-23 Thread Nate Kresse
David, I don't believe "tight coding" had anything to do with it. You simply moved the background style to the containing div. This is a "fix" but not always possible or desirable. See this second test case which uses your code with the background style applied to the containing div (#pagehead):

Re: [css-d] IE 7 - Extra padding-top

2006-10-22 Thread ~davidLaakso
Nate Kresse wrote: > Hello All, > > I came across a situation where IE7 (fresh copy downloaded today) inserts > extra padding-top when applied to an element inside a cleared div that comes > after a floated div. It also seems like it is related to using the shortcut > to apply a background color. >

Re: [css-d] IE 7 - Extra padding-top

2006-10-22 Thread Ingo Chao
Nate Kresse wrote: > I came across a situation where IE7 (fresh copy downloaded today) inserts > extra padding-top when applied to an element inside a cleared div that comes > after a floated div. It also seems like it is related to using the shortcut > to apply a background color. ... > > http:/

[css-d] IE 7 - Extra padding-top

2006-10-22 Thread Nate Kresse
Hello All, I came across a situation where IE7 (fresh copy downloaded today) inserts extra padding-top when applied to an element inside a cleared div that comes after a floated div. It also seems like it is related to using the shortcut to apply a background color. Check out my test case here: