I am struggling on the following objective (I am a new bee to JQuery).
I would like to have a parent container (say DIV) to increase its height automatically when any (or all) of its child controls resizes. The DIVs may contain both inline and absolutely positioned elements (even relatively).
In other words, the container should automatically expand its height to include all of its children at any moment.
I am frustrated with CSS hacks (along with "clearfix") and wanted to go with JQuery (looks much promising than CSS).
How can I achieve this using JQuery.
以上就是How to resize height of parent container (say DIV) using JQuery的详细内容，更多请关注web前端其它相关文章！