{"id":694,"date":"2012-01-04T15:28:37","date_gmt":"2012-01-05T01:28:37","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=694"},"modified":"2020-05-03T16:30:15","modified_gmt":"2020-05-04T02:30:15","slug":"make-outer-div-expand-with-inner-div","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/make-outer-div-expand-with-inner-div\/","title":{"rendered":"Make outer div expand with inner div"},"content":{"rendered":"
I have two divs, one inside the other. I make the inner div have a height of 100px. The problem is that the outer div does not expand to 100px. \u00a0Instead it stays at 0px height.<\/p>\n
In order for the outer div to expand with the inner div, you must have the following:<\/p>\n
source:\u00a0http:\/\/forums.devshed.com\/css-help-116\/trying-to-make-div-expand-as-div-within-expands-508432.html
\nkeywords: css expand outer div<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[2],"tags":[17],"yoast_head":"\n