Do you still use MIN/MAX-WIDTH and MIN/MAX-HEIGHT

parineetha's picture

They have: 3 posts

Joined: Jul 2009

Title is wrong , correct one should be :
Do you use MIN/MAX-WIDTH and MIN/MAX-HEIGHT ??

I am building a liquid layout with percentage and wonder if I have to use MIN/MAX-WIDTH and MIN/MAX-HEIGHT , knowing that IE 6 and earlier versions do not support it.
Do you use them ?
Is there any rule available to avoid the bug ?

He has: 629 posts

Joined: May 2007

Yes. I find min- and max-width indispensable for liquid (percent-based) layouts.

I use minmax.js from DoxDesk.com for IE prior to version 7. Not perfect, as it relies on scripting being on. If your Internet security setting is set to high - no JavaScript! Sad

P.S. No need for min-height. IE 6 and earlier treat 'height' as if it were 'min-height'.

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

Yes, I use it, but sparingly because of the lack of support in some browsers.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.