Look, http://jsfiddle.net/mgpv8qvt/1/ why the underscore goes over the line and not under?
I would like to make a line under the diva without specifying the height - just the dest class will sometimes go in several lines, and if you specify the height, everything will be lost
<div class="obs"> <span class="dest">Приемная (справочная)</span> <span class="phone">8-812-111-11-11</span> </div> <div class="line"></div> .obs{ margin: 20px 0 0 0; } .dest{ float: left; font-size: 16px; font-family: "PF BeauSans Pro",sans-serif; color: #666666; } .phone{ float: right; font-size: 18px; font-family: "PF BeauSans Pro",sans-serif; color: #000; font-weight: bold; text-decoration: underline; } .line{ border-bottom: 1px dashed #000; } UPDATE http://jsfiddle.net/mgpv8qvt/2/ can be done so, but why then the text is not aligned?