Re: [css-d] Problem with div wrapping

2007-02-13 Thread Gunlaug Sørtun
Mark Lundquist wrote: >> #sidebar { >> display: inline; >> ... > > What's the purpose of the "display: inline" in this case? Should have commented it. It is a hack to fix IE/win's 'margin-doubling on floats' bug. Without this hack IE6 and older win-versions will make the 29px right mar

Re: [css-d] Problem with div wrapping

2007-02-13 Thread Mark Lundquist
On Feb 13, 2007, at 2:32 PM, Gunlaug Sørtun wrote: > I suggest you turn that #sidebar into a cross-browser reliable float, > by > replacing its styles with the following. > > #sidebar { > display: inline; > ... What's the purpose of the "display: inline" in this case? cheers, —ml—

Re: [css-d] Problem with div wrapping

2007-02-13 Thread Gunlaug Sørtun
Marty Martin wrote: > I am having a problem with some code. The problem is it looks fine > for me on FF and IE7 but my customer is seeing the right-hand div > wrap under the left div. > Sure does in IE6 - it's running out of space. I suggest you t

[css-d] Problem with div wrapping

2007-02-13 Thread Marty Martin
Hello everyone, I am having a problem with some code. The problem is it looks fine for me on FF and IE7 but my customer is seeing the right-hand div wrap under the left div. Can someone help me figure out why this is wrapping and fix it? Thanks in advance! -Marty The code is like this--