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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -