html
<div id="tovar"> <div class="cont"> <div id="name"> <a href="#"> Длинны текст, очень дилнный, которые не помещается в div name и я его переношу </div> <div id="kol" align="center"> </div> <div id="sum" align="center"> </div> <div id="del" align="center"> </div> </div> css
#name { text-decoration: none; width:50%; display:inline-block; height: 100%; border: solid 1px black; } #name а { white-space: initial; } #kol { white-space:nowrap; width:12%; display:inline-block; border: solid 1px red; height: 100px; } #sum { white-space:nowrap; width:23%; display:inline-block; } #del { white-space:nowrap; width:10%; display:inline-block; } .cont{ overflow:hidden; width:100%; } #name а { //перенос длинной ссылки white-space: initial; } And the situation is as follows. If the word is not transferred in the name block, then the reference blocks remain in place and everything is fine, and if it is transferred, they go down. 