On Jul 24, 2009, at 10:51 PM, Don Spark wrote: > I probably have a basic IE browser bug affecting floats and or > margins. It would be great to get a fix for this (#1.) margin-left > 200px not working in MSIE7(5.5 and 6 too) and identify the bug so I > understand it going forward. The CSS in question is at the bottom of > this email. There are two other bugs (#2 and #3) I am trying fix at > the moment if anyone knows. > > Here is a screenshot showing bug > http://modernia.net/oh/7-22msie7-xp.png > > The address of this 'Ohlone' layout template is > http://www.modernia.net/oh/5/
The parent of #content is a 'hasLayout' container (because of overflow:hidden). This kinda swallows the margin of the first inflow kid. That is the left-margin vanishes into thin air. The overflow:hidden is apparently used to contain floats. Maybe choose another technique ? Inserting an <hr> that clears the whole block as last element in #container ? That would even be semantic... http://www.satzansatz.de/cssd/onhavinglayout.html#prop Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ 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/