At the moment so:
How to make sure that the active tab does not have an underscore? It is possible to alter somehow, the main thing is not to use something like margin-top: -1px .
https://jsfiddle.net/ox3kx17c/1/
.tabs { margin-bottom: 20px; border-bottom: 1px solid #bfbfbf; } .tabs a { text-decoration: none; display: inline-block; padding-top: 10px; padding-bottom: 10px; padding-left: 15px; padding-right: 15px; font-size: 18px; color: #444444; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; } .tabs a.active { background: #ffffff; border: 1px solid #bfbfbf; border-bottom: none !important; color: #1e7ec8 !important } <div class="tabs"> <a href="#" class="active">Настройки</a> <a href="#">Мои заказы</a> <a href="#">Test</a> </div> 

border-botom- Grundy