ul.navigation-sub { animation: 0.1s linear 0s normal none 1 submenu; border: 0px; display: none; right: 98%; list-style-type: none; margin: 0 0 0 2px; padding: 0; position: absolute; top: 0; width: 200px; z-index: 1000; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176); } #nav { float: right; width: 100px; /* min-height: 800px;*/ background: #3498DB; color: #EFEFEF; position: absolute; right:0 } #main { min-height:100%; position: relative; left: 0; top: 0; z-index: 20; background-color: #f1f2f7; color: #666666; } /*все #main { left: 100px!important; position: absolute!important; } заменить на:*/ #main { right: 100px!important; position: absolute!important; }