Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Philippe Wittenbergh
On 30 Nov 2005, at 6:59 am, Ingo Chao wrote: > I fear that would require the next nastiness ;) > Shifting the margin from #contain to a padding of its container, body? > > http://www.satzansatz.de/cssd/tmp/float-containII.html One problem with this approach: it *requires* IE6 Win to be in quirks

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Al Sparber
From: "Gunlaug Sørtun" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 5:18 PM Subject: Re: [css-d] Float containment problem in IE/Win > Ingo Chao wrote: >> http://www.satzansatz.de/cssd/tmp/float-contain.html > > Poor IE6... :-( > ...and I thought we

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Al Sparber
From: "Ingo Chao" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 4:59 PM Subject: Re: [css-d] Float containment problem in IE/Win > Al wrote: >> if you can get rid of the scrollbar ... > > I fear that would require the next nastiness ;) > Shifting the

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Gunlaug Sørtun
Ingo Chao wrote: > http://www.satzansatz.de/cssd/tmp/float-contain.html Poor IE6... :-( ...and I thought we could save its "not very standard mode" this time around ;-) Georg -- http://www.gunlaug.no __ css-discuss [EMA

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Ingo Chao
Al wrote: > if you can get rid of the scrollbar ... I fear that would require the next nastiness ;) Shifting the margin from #contain to a padding of its container, body? http://www.satzansatz.de/cssd/tmp/float-containII.html Ingo -- http://www.satzansatz.de/css.html __

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Al Sparber
From: "Ingo Chao" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 1:11 PM Subject: Re: [css-d] Float containment problem in IE/Win > > Guess I am a little late in this race, so I had to do dirty tricks. > > http://www.satzansatz.de/cssd/tmp/float-contai

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Al Sparber
From: "Christian Montoya" <[EMAIL PROTECTED]> To: "CSS-D" Sent: Tuesday, November 29, 2005 11:54 AM Subject: Re: [css-d] Float containment problem in IE/Win > > >> Although you should remember that expressions don't work if the >> client has >

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Gunlaug Sørtun
Christian Montoya wrote: >> Although you should remember that expressions don't work if the >> client has scripting disabled; ... > I was waiting for someone to say that. For all the times that we talk > about not relying on Javascript, expressions should be no exception. > > :-) You're right

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Ingo Chao
Guess I am a little late in this race, so I had to do dirty tricks. http://www.satzansatz.de/cssd/tmp/float-contain.html Two minor changes. Ingo -- http://www.satzansatz.de/css.html __ css-discuss [EMAIL PROTECTED] http://www

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Christian Montoya
> > Although you should remember that expressions don't work if the client has > scripting disabled; Christian's hack, though ugly to read, prevents one > tehcnology being dependant on another for correct operation. > > Just my tuppence, > > Nick. I was waiting for someone to say that. For all the

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Gunlaug Sørtun
Nick Fitzsimons wrote: > Although you should remember that expressions don't work if the > client has scripting disabled; Christian's hack, though ugly to read, > prevents one tehcnology being dependant on another for correct > operation. > > Just my tuppence, Yes, of course. I usually solve t

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Nick Fitzsimons
> Christian Montoya wrote: >> Are you guys saying you would prefer a javascript solution + invalid >> css to my pure css solution, which could be hidden behind conditional >> comments to eliminate hacks? >> >> http://christianmontoya.com/examples/float-contain.html > > Nothing wrong with your solu

Re: [css-d] Float containment problem in IE/Win

2005-11-29 Thread Gunlaug Sørtun
Christian Montoya wrote: > Are you guys saying you would prefer a javascript solution + invalid > css to my pure css solution, which could be hidden behind conditional > comments to eliminate hacks? > > http://christianmontoya.com/examples/float-contain.html Nothing wrong with your solution, bu

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Al Sparber
From: "Christian Montoya" <[EMAIL PROTECTED]> To: "CSS-D" Sent: Tuesday, November 29, 2005 12:54 AM Subject: Re: [css-d] Float containment problem in IE/Win > Are you guys saying you would prefer a javascript solution + invalid > css to my pure css soluti

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Gunlaug Sørtun
Philippe Wittenbergh wrote: > It is the ever expanding trick in IE. The width is not really expanded > to fit the fixed-width block, only the look of the box. > > Expressions... > > This should work * html #container > {width:expression((document.documentElement.clientWidth < 675) ? > '675px'

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Christian Montoya
Are you guys saying you would prefer a javascript solution + invalid css to my pure css solution, which could be hidden behind conditional comments to eliminate hacks? http://christianmontoya.com/examples/float-contain.html -- -- Christian Montoya christianmontoya.com ... rdpdesign.com ... cssliq

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Al Sparber
From: "Philippe Wittenbergh" <[EMAIL PROTECTED]> > It is the ever expanding trick in IE. The width is not really > expanded > to fit the fixed-width block, only the look of the box. > > Expressions... > > This should work > * html #container > {width:expression((document.documentElement.clientWid

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Al Sparber
From: "Eric A. Meyer" <[EMAIL PROTECTED]> > Hey all, > >I have a problem in IE/Win that's driven me straight up the wall, > across the ceiling, down the other side, and under the carpet. > Here's my minimal test case: > >http://meyerweb.com/eric/css/tests/float-contain.html > > What I'm tr

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Philippe Wittenbergh
On 29 Nov 2005, at 10:18 am, Eric A. Meyer wrote: > http://meyerweb.com/eric/css/tests/float-contain.html > > What I'm trying to do here is simulate 'min-width' for the #contain > div by setting an explicit width of 675px on #topper. And, indeed, > #contain stops shrinking when it's just wide

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Christian Montoya
My implementation of the border/padding method from the previous link: http://christianmontoya.com/examples/float-contain.html -- -- Christian Montoya christianmontoya.com ... rdpdesign.com ... cssliquid.com __ css-discuss [EMAIL

Re: [css-d] Float containment problem in IE/Win

2005-11-28 Thread Christian Montoya
On 11/28/05, Eric A. Meyer <[EMAIL PROTECTED]> wrote: > Hey all, > > I have a problem in IE/Win that's driven me straight up the wall, > across the ceiling, down the other side, and under the carpet. > Here's my minimal test case: > > http://meyerweb.com/eric/css/tests/float-contain.html >

[css-d] Float containment problem in IE/Win

2005-11-28 Thread Eric A. Meyer
Hey all, I have a problem in IE/Win that's driven me straight up the wall, across the ceiling, down the other side, and under the carpet. Here's my minimal test case: http://meyerweb.com/eric/css/tests/float-contain.html What I'm trying to do here is simulate 'min-width' for the #conta