Re: [css-d] help with margin-top IE versus FF
I solved it by applying float:left to the bottom div. Not sure why it fixed it, but I'm not going to argue with it! -Original Message- From: David Laakso [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 6:03 PM To: Angela French Cc: css-d@lists.css-discuss.org Subject: Re: [css-d] help with margin-top IE versus FF Angela French wrote: I have two divs that sit on top of each other (in the html). I have applied a margin-top to the bottom div to provide space between the 2 divs. IE7 renders the margin-top, but FF2 won't. I have tried !important; but cannot get some space between them. Angela French Is the problem resolved in Firefox/3.0.3; and if not, could you provide a clickable link to the page/problem in question? -- A thin red line and a salmon-color ampersand forthcoming. http://chelseacreekstudio.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/
Re: [css-d] help with margin-top IE versus FF
Angela French wrote: I solved it by applying float:left to the bottom div. Not sure why it fixed it, but I'm not going to argue with it! Educated guess: you experienced a collapsing margins case... http://www.w3.org/TR/CSS21/box.html#collapsing-margins ...which 'float: left/right' on the right element fixes. IE/win was probably already saved by its 'hasLayout' bug. 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/
[css-d] help with margin-top IE versus FF
I have two divs that sit on top of each other (in the html). I have applied a margin-top to the bottom div to provide space between the 2 divs. IE7 renders the margin-top, but FF2 won't. I have tried !important; but cannot get some space between them. Can anyone suggest what I might need to look at or try? Thank you Angela French Internet Specialist State Board for Community Technical Colleges 360-704-4316 http://www.checkoutacollege.com http://www.sbctc.ctc.edu __ 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/
Re: [css-d] help with margin-top IE versus FF
Angela French wrote: I have two divs that sit on top of each other (in the html). I have applied a margin-top to the bottom div to provide space between the 2 divs. IE7 renders the margin-top, but FF2 won't. I have tried !important; but cannot get some space between them. Angela French Is the problem resolved in Firefox/3.0.3; and if not, could you provide a clickable link to the page/problem in question? -- A thin red line and a salmon-color ampersand forthcoming. http://chelseacreekstudio.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/