On Wed, 14 Jan 2009 22:13:37 -0500, Bill Brown wrote: > Jerod Venema wrote: >> I've got a weird bug that I can't figure out. Our website, >> www.frozenmountain.com, >> shows the behaviour. If you visit the site, check out #header. You'll notice >> that it >> has a 1px top padding. What's bizarre is, if you remove the padding, the >> spacing >> jumps about an extra 10px. I can't for the life of me figure out why. It >> only happens >> in FF3 (well..only being liberal, I've only tested in FF and IE so far). >> >> Anyone have any ideas? >> > > Hi Jerod-- > > Collapsing Margin Bug. > > Try this: > > #header { > overflow: hidden;/* <-- ADD */ > /* padding-top: 1px; --> REMOVE */ > } >
Indeed that works. But I'm as confused as Jerod here - I don't see evidence of margins on anything here. The only element that's likely to have a margin is the UL, and Jerod has expressly set that to zero. And poking around with Firebug, I can't see what is overflowing. So "Collapsing Margin Bug" does not seem to be an explanation. Could you please elaborate? Cordially, David -- ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/