IE8 overflow:auto with max-height
问题 I have an element which may contain very big amounts of data, but I don't want it to ruin the page layout, so I set max-height: 100px and overflow:auto , hoping for scrollbars to appear when the content does not fit. It all works fine in Firefox and IE7, but IE8 behaves as if overflow:hidden was present instead of overflow:auto . I tried overflow:scroll , still does not help, IE8 simply truncates the content without showing scrollbars. Changing max-height declaration to height makes overflow