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

2005-11-08 Thread Kelly Miller
Actually, if you just need min-height, it tends to be somewhat cleaner just to feed IE a height value. But for max-height, expressions are especially useful. Only one thing; has anyone figured out how to use em values in expressions? clientHeight and clientWidth return pixels. -- http://www

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

2005-11-08 Thread David Laakso
Jay Loden wrote: >Thanks! I particularly like the doxdesk solution, it's a lot cleaner and won't >invalidate my CSS with MS cruft > > FWIW, IE 'expressions' perform best(for me), And an ie specific stylesheet /can be hidden from the validator/ within conditional comments. Pick your poison: JS

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

2005-11-08 Thread Jay Loden
Thanks! I particularly like the doxdesk solution, it's a lot cleaner and won't invalidate my CSS with MS cruft Thanks again, -Jay On Monday 07 November 2005 7:06 pm, David Laakso wrote: > [..] > These are some methods to achieve min-max width in IE. > > >

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

2005-11-07 Thread David Laakso
Jay Loden wrote: >I don't suppose there's a similar trick to get IE to do a "max-width" >property? > >On Thursday 03 November 2005 10:19 am, Justin Reid wrote: > > [..] These are some methods to achieve min-max width in IE. > >

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

2005-11-07 Thread Jay Loden
I don't suppose there's a similar trick to get IE to do a "max-width" property? On Thursday 03 November 2005 10:19 am, Justin Reid wrote: > the best way to do this is to give IE a height value equal to the > minimum height that you want, in this case 300px; IE uses the height > value just like a

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

2005-11-03 Thread Nick Fitzsimons
> #messageCentre{ > width:470px; > border: 1px solid #2b4295; > margin-bottom: 35px; > background-image: url(/Images/messageCentre.gif) bottom left > no-repeat; > min-height: 300px; > } > > The number of combinations is variable and my image is 172 x 258. >

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

2005-11-03 Thread Justin Reid
> I want the div to always stay large enough for the graphic. I can get it > to work in Firefox but not IE. Any suggestions for something to force IE > into line? > > Juli Hey Juli, the best way to do this is to give IE a height value equal to the minimum height that you want, in this case 300px;

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

2005-11-03 Thread Gunlaug Sørtun
Juli Waddell wrote: > I am struggling with the following code: #messageCentre{ width:470px; (some more styles) min-height: 300px; } Add (at the bottom of stylesheet) : @media all { * html #messageCentre{height: 300px;} } ...and IE/win will act as if it was served min-height.

[css-d] min-height and IE

2005-11-03 Thread Juli Waddell
Good morning, I am struggling with the following code: where #messageCentre{ width:470px; border: 1px solid #2b4295; margin-bottom: 35px; background-image: url(/Images/messageCentre.gif) bottom left no-repeat; min-height: 300px; } The number