I want to position one element with left in percentage and another element with left in percentage, but it does not work. Could you help me and say in details why it is not working ? Thank you
<div class="header" >
<span style="left:2.34%;z-index: 1;">MALISIMMO</span>
<div style="position: absolute; width: 294px; right: 1%;">
<button style="height: 36px;z-index: 1;">Buy</button>
<button style="height: 36px;z-index: 1;">About Us</button>
<button class="position1" style="z-index: 1;">SIGN IN</button>
</div>
</div>
The jsfiddle: https://jsfiddle.net/flamant/mopu087v/9/