Re: [css-d] IE6 vertical margin and padding differences

2008-05-23 Thread David Laakso
James Smith wrote: > Hi there, this is hopefully an easy one, but I'm struggling to find a clean > solution for IE6 without resorting to adding an extra div, floating the h1 > element, or removing the container's width (all of which are inconvenient for > various reasons) - > > Problem here is

Re: [css-d] IE6 vertical margin and padding differences

2008-05-23 Thread maxxu !
What about adding the underscore hack ? h1 { ... _margin-top:200px; } That will get the same result in IE6 as the one in FF. James Smith wrote: > Hi there, this is hopefully an easy one, but I'm struggling to find a clean > solution for IE6 without resorting to adding an extra div, floating the

Re: [css-d] IE6 vertical margin and padding differences

2008-05-23 Thread James Smith
n anything. It seems that the margin and padding are collapsing together since IE6 will obey whichever one is higher in value, but not both. > Date: Fri, 23 May 2008 18:05:11 +0300 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: css-d@lists.css-discuss.org > Subject: Re:

Re: [css-d] IE6 vertical margin and padding differences

2008-05-23 Thread Bobby Jack
--- James Smith <[EMAIL PROTECTED]> wrote: > Do you know why this is happening? I thought I had > encountered most IE bugs before ... it doesn't > even seem to be down to the box model differences > since I've not specified a height on anything. It definitely looks like a hasLayout problem - this