Search code examples
htmlmarkup

1 div Left and 2 divs right?


I am creating a header with the image logo in a left div (100px height) and 2 seperate stacked right divs (50px Height each) on the for menu and info.

I want the header to be 100px Height.

What would be the best way to do this?


Solution

  • I have put together a little pen here: http://codepen.io/anon/pen/vXwvZr

    You need to give each html id and set minimum-height. You can then float the elements left to have them line up next to each other.

    Hope this helps and please next time post your code.