On 25/07/2007 12:05, Tony Haddon wrote:
> My problem lies in the margin I've applied to the h1 element here.
> It ought to offset the h1 block from the containing #inner element.
> In IE6 it works as planned, but Firefox appears to apply the margin
> to the element two steps up the tree e.g. the #outer element.

The XML prologue is causing IE to go into quirks mode, so you may
want to remove this.

Secondly, to get the spacing you want, instead of using margins on
the h1 element, you could try padding your #outer element instead,
and zeroing the margins on the h1 element.

-- 
http://antanova.blogspot.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to