jQuery - Set min-height of div
Posted
by Kenny Bones
on Stack Overflow
See other posts from Stack Overflow
or by Kenny Bones
Published on 2010-05-01T17:27:49Z
Indexed on
2010/05/01
17:37 UTC
Read the original article
Hit count: 188
This is probably really easy for most of you. But I'm in need of a small snippet that looks up the current height of a div (the div has a dynamic height based on the content inside it) and then set that value in the css class's min-height value.
Basically what this means is that I want this container to have it's min-height to be the exact same value as it's current height. This is probably a quick one :)
© Stack Overflow or respective owner