I have a homepage madsgadeberg.dk where i have a MenubarView to the left and a ContentView to the right. Both are childrens to a ParentView. Direct link to page: http://ift.tt/1CvCKeA. Content of ContentView changes by selecting page from the menu, like you would expect a menu to function.
What i would like to achieve: ParentView should always be minimum 100% and stretch acording to my Contentview.
min-height: 100%;
height: auto;
MenubarView (left child) should always follow the height of the parent.
height: 100%;
ContentView (right child) should fit its content.
height: auto;
If i do as above my MenubarView's height shrinks to zero.
What is the correct way to achieve this?
Aucun commentaire:
Enregistrer un commentaire