That got it. added empty comments inside the nested divs. thank you ! On Fri, Feb 15, 2008 at 9:21 AM, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
> corey deep wrote: > > does anyone have experience dealing with ie6 height bugs ? i have > > several instances where the elements height is not right in ie6. I'm > > trying to setup swatches w/ css. in ie6 there is extra height given > > to every element. > > IE6 doesn't respect declared dimensions, and will expand any element if > it "thinks" the content doesn't fit. > > I'd prefer to see a live example of your problem, but what you sent > indicates "IE/win whitespace bugs" at play - making the elements at > least as tall as the relevant line-height. > > The addition of... > > * html .m_swatch_red, * html .m_swatch_corner {overflow: hidden;} > > ...will probably work, but if not then it's time to tell IE/win that > those empty elements are _really_ empty, by placing HTML comments inside > them... > > <div class="m_swatch_red"><!-- --></div> > <div class="m_swatch_corner"><!-- --></div> > > regards > Georg > -- > http://www.gunlaug.no > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/