CSS Overflow issue with IE7 -


so in ie8 , above along other browsers such firefox have div grow when there data in div automatically this:

.example { min-height:1px; overflow:hidden; } 

but in ie7 content inside div not fill out. below example:

enter image description here

so thought fix ie7 issue this:

.example { min-height:1px; overflow:hidden; }  * html .example { height:1px; overflow:visible; } 

but in ie7 show 1 pixel height, still looks see in example above min-height in ie7. how can get, cross browsers, have content inside div auto fill out content inside div min-height in ie8 above?

min-height buggy in ie7. quick fix:

.example {     min-height: 1px;     height: auto !important;     height: 1px; } 

anyway, don't know why need min-height... problem overflow: hidden won't work in ie7 unless parent container has position: relative.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -