Re: [css-d] ie7 margin bug

2007-07-15 Thread Bruno Fassino
Tobbe Lundberg wrote: There is a 40px margin below #box. It shouldn't be there. The 40px margin comes from #wrapper, but since #wrapper is much shorter than #box that margin shouldn't make any difference. Firefox 2 and Opera 9 gets it right. The address should be

Re: [css-d] ie7 margin bug

2007-07-15 Thread Tobbe Lundberg
IE seems to have many problems of this type (margins, paddings lost or incorrectly applied, in presence of floats and clears.) Are these problems documented anywhere? When I google for ie7 css bugs I don't find anything that seems related. It would be nice if a list of bugs with possible

Re: [css-d] ie7 margin bug

2007-07-15 Thread Alan Gresley
Bruno Fassino wrote: Tobbe Lundberg wrote: There is a 40px margin below #box. It shouldn't be there. The 40px margin comes from #wrapper, but since #wrapper is much shorter than #box that margin shouldn't make any difference. Firefox 2 and Opera 9 gets it right. The address should be

Re: [css-d] ie7 margin bug

2007-07-15 Thread Bruno Fassino
Alan Gresley wrote: IE will transfer a margin-bottom from an element, being default or otherwise to below a float. The element in question can come before or after the float in the source, or contain the float. Tobbe, you example gave me the push to complete the test page I had been doing.

Re: [css-d] ie7 margin bug

2007-07-15 Thread Ernie Finlay
: Re: [css-d] ie7 margin bug Date: Sun, 15 Jul 2007 08:47:07 +0200 Tobbe Lundberg wrote: There is a 40px margin below #box. It shouldn't be there. The 40px margin comes from #wrapper, but since #wrapper is much shorter than #box that margin shouldn't make any difference. Firefox 2 and Opera 9

Re: [css-d] ie7 margin bug

2007-07-15 Thread Tobbe Lundberg
As #wrapper encloses both #content and #box (NOT #siteinfo)#wrappers length ends with the bottom of #box,and a bottom margin of 40px has been given to #wrapper which accounts for the 40px margin. So why is the border not below #box then? If #wrapper did indeed end at the bottom of #box, don't

[css-d] ie7 margin bug

2007-07-14 Thread Tobbe Lundberg
Hi I think I have found a bug in ie7. Take a look at this page and you'll see what I mean: http://localhost/tlundberg/ie7.html (that page probably will not stay up for ever...) There is a 40px margin below #box. It shouldn't be there. The 40px margin comes from #wrapper, but since #wrapper is

Re: [css-d] ie7 margin bug

2007-07-14 Thread Tobbe Lundberg
How embarrassing! The address should be http://tlundberg.com/ie7.html Obviously not localhost ;) __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information --

Re: [css-d] ie7 margin bug

2007-07-14 Thread David Hucklesby
On Sun, 15 Jul 2007 00:33:35 +0200, Tobbe Lundberg wrote: Hi I think I have found a bug in ie7. Take a look at this page and you'll see what I mean: http://localhost/tlundberg/ie7.html (that page probably will not stay up for ever...) There is a 40px margin below #box. It shouldn't be

Re: [css-d] ie7 margin bug

2007-07-14 Thread Holly Bergevin
From: Tobbe Lundberg [EMAIL PROTECTED] http://tlundberg.com/ie7.html There is a 40px margin below #box. It shouldn't be there. The 40px margin comes from #wrapper, but since #wrapper is much shorter than #box that margin shouldn't make any difference. Firefox 2 and Opera 9 gets it right. Ah,