Re: [css-d] min-width in IE 6 on inline/block element?

2007-02-15 Thread Zoe M. Gillenwater
Sophie Dennis wrote: IE6 treats width as min-width No it doesn't. This is a common myth. IE treats height like min-height, but not width like min-width. Case in point: make a page with a div with a red background. Give it min-width 500px. Observe that in Firefox the div will grow to fill the

Re: [css-d] min-width in IE 6 on inline/block element?

2007-02-15 Thread Sophie Dennis
Zoe M. Gillenwater wrote: Sophie Dennis wrote: IE6 treats width as min-width No it doesn't. This is a common myth. IE treats height like min-height, but not width like min-width. Case in point: make a page with a div with a red background. Give it min-width 500px. Observe that in

Re: [css-d] min-width in IE 6 on inline/block element?

2007-02-15 Thread Zoe M. Gillenwater
Sophie Dennis wrote: In fact, isn't this the same as height/min-height? It isn't that height in IE6 is *the same as* min-height. It's that IE will expand a box to fit its content, regardless of height/width specified. So in IE6 height: 500px won't give the same effect as height: 100%;

[css-d] min-width in IE 6 on inline/block element?

2007-02-14 Thread Magenta Placenta
If you save out the following code and view locally, you'll see in Firefox a min-width (red border) on certain li class=userchoices bullets. This is what I'm after. If you open in IE 6, that min-width is not recognized. Is there a way to have min-width in IE 6 without resorting to basically

Re: [css-d] min-width in IE 6 on inline/block element?

2007-02-14 Thread Sophie Dennis
Magenta Placenta wrote: If you save out the following code and view locally, you'll see in Firefox a min-width (red border) on certain li class=userchoices bullets. This is what I'm after. If you open in IE 6, that min-width is not recognized. Is there a way to have min-width in IE 6

Re: [css-d] min-width and IE

2006-06-23 Thread Tom Livingston
On 6/22/06, Gunlaug Sørtun [EMAIL PROTECTED] wrote: Tom Livingston wrote: Your expression is still triggered by a fixed pixel-width, and doesn't pick up and recalculate the trigger-point based on the browser's default font-size. Try this... #wrapper {

[css-d] min-width and IE

2006-06-21 Thread Tom Livingston
Listers, I am using this for min-width in IE: #wrapper{width:expression(document.body.clientWidth 800 ? 799px : 100% );} If I use ems (50ems) in place of the 799px, IE has a heart attack if I scale the text up at the min-width. In FF, at the min-width, I scale up the text and the layout

Re: [css-d] min-width and IE

2006-06-21 Thread Gunlaug Sørtun
Tom Livingston wrote: I am using this for min-width in IE: #wrapper{width:expression(document.body.clientWidth 800 ? 799px : 100% );} If I use ems (50ems) in place of the 799px, IE has a heart attack if I scale the text up at the min-width. I'm not surprised :-) Pixels and ems don't