Good day! Faced a problem with which I have been fighting for several days and I canβt solve it in any way. There is a rubber height menu. Task: press the menu item "Download price" to the right menu. Of the obligatory conditions, this is the vertical centering of the contents of all menu items, wherever they are, on the left or on the right (our βDownload price listβ. As soon as I have not done both through the floats and through the abs. Positioning. to achieve the goal, but there were also shoals. When you substitute the values ββof top: 50%; right: 0 for the menu item that you need to press, the point was not centered on the height quite vertically. this value is top: 50% oriented. position: relative height avil parent #menu In general, such a trouble Please help us to end this already in advance :) kowtow code attached..!: 
#menu_background { background: #0060c1; } #menu { width: 1100px; margin: 0 auto; position: relative; } #menu_left { display: table-cell; vertical-align: middle; } #menu_left_content { list-style: none; padding: 10px 0; } #menu_left_content li { display: table-cell; font-size: 1.2em; vertical-align: middle; text-align: center; padding: 0 10px; color: #fff; border-right: 1px solid #fff; } #menu_left_content li:hover { } #menu_left_content li.menu_left_content_li_last { border-right: none; } #menu_left_content li.menu_left_content_li_elem { border-right: none; position: absolute; right: 0; padding: 0; margin: 0; } #menu_right { display: table-cell; vertical-align: middle; } #menu_right_content { } #menu_right_content li { list-style: none; } #menu_right_content a { background: #fff; padding: 5px 10px; font-size: 1.2em; text-align: center; border-radius: 25px; color: red; display: block; } #menu_right_content a:hover { transition: all 0.2s; box-shadow: 0px 0px 0px 4px rgba(255,255,255,1); } #menu_right_content img { width: 25px; vertical-align: middle; margin-right: 10px; } <div id="menu_background"> <div id="menu"> <div id="menu_left"> <ul id="menu_left_content" > <li>ΠΠΎΠ΄ΠΎΠΎΡΠ»ΠΈΠ²Ρ<br/>ΠΠΎΠ΄ΠΎΠΊΠΎΠ½Π½ΠΈΠΊΠΈ</li> <li>ΠΠ½ΡΡΡΡΠΌΠ΅Π½Ρ</li> <li class="menu_left_content_li_last">Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½Π°Ρ<br/>Ρ
ΠΈΠΌΠΈΡ</li> </ul> </div> <div id="menu_right"> <div id="menu_right_content"> <li><a href="" ><img src="images/pdf.png"/>Π‘ΠΊΠ°ΡΠ°ΡΡ ΠΏΡΠ°ΠΉΡ</a></li> </div> </div> </div> </div> 