html - Stop 2 floating DIVS from collapsing while inside another -


It can be really simple but I can not wrap my head around it.

css

  #nav_bar {max-width: 1000px; Height: 41px; Margin: 0 auto; Background color: yellow; } # Left {float: left; Minimum-width: 200px; Height: 41px; Background color: red; } #right (float: right; minimum-width: 500px; height: 41px; background color: black;}  

HTML

  

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -