Hi,

> Well I can only take guesses since nothing is clear to me. Maybe this test 
> case [1] > will possibly help until I can see what the problem is. Why did 
> you pull the page?

I have no idea why you can't reach it, the following link works fine for me:

http://users.pandora.be/onderhond/onderhond/paddings-margins-2.html



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Gresley
Sent: woensdag 12 maart 2008 19:42
To: css-d@lists.css-discuss.org
Cc: Philippe Wittenbergh
Subject: Re: [css-d] margins & background clipping

Niels Matthijs wrote:

>> Top padding on the parent element ?
>> (border or padding are not 'crappy' solutions to the problem of  
>> collapsing margins in my book.)
> 
> Well, the question was to fix this without touching the padding/margin method 
> used. As I'm looking
> for a good way to work with margins and paddings I was trying out this 
> solution. The reason why I
> dropped the top padding in the parent div was to have an easier IE6 
> stylesheet (no more need to
> single out the first child and drop its top-margin).


I can't see the page now since you have pulled it but if this is an issue about 
collapsing margins then this would be effecting IE7. Do you have individual 
style sheets for IE6 and IE7?


> Adding a border on the parent this is an ugly trick because when changing the 
> background color you
> need to change the border color too. Generally I avoid such methods in css.
> 
>> Or: establishing a new block-formatting context
> 
> That's the overflow trick I've been using, I just wonder if there's a safe 
> fix that will work
> seamlessly in all situation. I can add overflow:hidden but then I can't 
> position anything outside
> my parent container anymore ... etc etc.
> 
> Hope I made it a little clearer now what kind of fix I'm looking for.
> 
> Greets,
> Niels Matthijs


Well I can only take guesses since nothing is clear to me. Maybe this test case 
[1] will possibly help until I can see what the problem is. Why did you pull 
the page?


[1] <http://css-class.com/test/css/box/margins/iehaslayoutmargins.htm>


Alan

http://css-class.com/

______________________________________________________________________
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/

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release Date: 12/03/2008 
13:27
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.518 / Virus Database: 269.21.7/1327 - Release Date: 12/03/2008 
13:27
 
______________________________________________________________________
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/

Reply via email to