.nav - the panel where two divs are located
.divnal - the very two blocks
.devnav{ margin-left: 250px; width: 20%; display: inline-block; text-align: center; color: #ffffff; margin-top: 15px; font-size: 18px;} .nav{ height: 99px; background: #3351eb;} It works perfectly on a native monitor (1280x1024) - http://i.stack.imgur.com/la3nB.png
but if I check, for example, on the largest monitor, it does not at all correspond to what I have. http://i.stack.imgur.com/nd0as.png
Changed the code
.devnav{ width: 50%; float: left; text-align: center; color: #ffffff; margin-top: 15px; font-size: 18px;} Only again the problem is that on the big screens they move away from each other http://i.stack.imgur.com/zZ87i.png