PDA

View Full Version : Do you still use MIN/MAX-WIDTH and MIN/MAX-HEIGHT



nilulk
Apr 19th, 2009, 10:41 PM
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 ?

happy
Apr 21st, 2009, 01:24 AM
I have never used MIN/MAX-WIDTH and MIN/MAX-HEIGHT. I am also interested to know about that.

rosann_merrell
Sep 10th, 2009, 03:11 AM
Yes I still use those. You can avoid the bug by adding an empty(but with an   ) div with a fixed size(e.g. 150px) to the container which has a min width/height and set the container to 100%. The container will be 100% or 150px(which ever is larger). For the maximum width/height there will probably be a similar solution but I never use max, I use just fixed sizes for that.