yeah, it works. This is the second bug I encountered whose root cause is the hasLayout problem. What a stupid bug.
Thanks. On Fri, Oct 31, 2008 at 3:43 PM, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote: > ray wrote: > > Look at this page http://www.soundbowl.com/test.html in IE7. The outer >> div has a padding of 6px, but the inner div seems not respect to this >> padding, its background covers the left padding of its parent >> div. >> > > Add a 'hasLayout' trigger to #inner... > > #inner { > height: 1%; > } > > ...so IE/win understands that it should relate to its own parent and > cover a defined area inside it. > > Sounds like a great explanation, doesn't it? :-) > More important: it works. > > 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/