Hello. I have such a question. There are two divas:
.menuLeft { background: #2980b9; padding: 15px; width: 210px; margin-top: 5px; margin-left: 5px; float: left; border-radius: 5px 5px 0px 0px; font-weight: bold; color: #fff; } .menuRight { background: #3498db; padding: 15px; width: 1075px; margin-top: 5px; margin-right: 5px; float: right; border-radius: 5px 5px 0px 0px; font-weight: bold; color: #fff; }
as you already understood, these are two blocks, one is displayed on the left, the other on the right. I bring them simply: echo '<div class="menuLeft">Левое меню</div>';
echo '<div class="menuRight">Правое меню</div>';
it is necessary that the blocks were "rubber", namely, if the user has a smaller monitor, then so that the blocks do not lie on each other or so that they do not move out. How to implement this?