Cross browser Minimum Height for division - Example
1:Using Underscore Hack
Minimum height of this box is set to 200px
The content here takes less than 200px, but still the height remains 200px.
2:Using Underscore Hack
Minimum height of this box is set to 200px
The content here requires more than 200px, hence the height behaves as if it is was set to "auto".
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut imperdiet sapien eu massa. Sed lorem neque, lobortis tincidunt, hendrerit id, suscipit nec, velit. Sed luctus semper purus. Proin risus neque, aliquet porttitor, consectetuer eu, vestibulum euismod, elit. Mauris tortor. Etiam nulla libero, convallis at, lobortis ac, aliquet posuere, mi. Nam lobortis, enim sit amet tristique ornare, nulla tortor aliquet augue, eget vestibulum lacus risus a tortor.
3:Using Atribute-Selector Hack
Minimum height of this box is set to 200px
The content here takes less than 200px, but still the height remains 200px.
4:Using Atribute-Selector Hack
Minimum height of this box is set to 200px
The content here requires more than 200px, hence the height behaves as if it is was set to "auto".
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut imperdiet sapien eu massa. Sed lorem neque, lobortis tincidunt, hendrerit id, suscipit nec, velit. Sed luctus semper purus. Proin risus neque, aliquet porttitor, consectetuer eu, vestibulum euismod, elit. Mauris tortor. Etiam nulla libero, convallis at, lobortis ac, aliquet posuere, mi. Nam lobortis, enim sit amet tristique ornare, nulla tortor aliquet augue, eget vestibulum lacus risus a tortor.