html - Mixing a few position:fixed Div's -
here html & css problem i'm trying solve : html & css: #fixedleftmenu { display: inline-block; height: 50px; background-color: yellow; width: 25px; position: fixed; } #container { display: inline-block; background-color: orange; width: calc(100% - 25px); margin-left: 25px; } #redfixeddiv { height: 100px; background-color: red; width: 25%; position: fixed; } #bluediv { float: right; height: 1000px; background-color: blue; width: calc(100% - 25%); } <div id="fixedleftmenu"></div> <div id="container"> <div id="redfixeddiv"> </div> <div id="bluediv"></div> </div> the yellow div fixed div fixed width . the red div fixed div % width . the blue is % width ; you can see red , blue div's not match 100% width (the...