David Hucklesby
Thu, 24 Jul 2008 13:54:06 -0700
On Wed, 23 Jul 2008 11:37:17 +1000, Jens-Uwe Korff wrote: > ... > If an element's width and its margin is wider than the containing element's > width, how > should browsers render this according to the spec? > If the element's width exceeds that of the container, rendering ought to depend on the container's "overflow" property. By default, the overflowing part should show, but should *not* affect the container. > I find that FF3, IE7, Safari (PC) and Opera all allow this margin to exist > and don't > break the design while IE6 (no surprise) thinks that it has to extend the > containing > element's width. > As you say - no surprise. > However, is this approach intended or just "be nice to developers"? > As all attempts at fixing this bad behavior has down-sides, I'd hardly consider it being "nice to developers." :\ For example, you could add "overflow-x: hidden" to the container to stop the expansion, but then you would not see the overflowing bit. Cordially, David -- ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************