I am not able to see my full text after implementing an ellipsis. I want to see the full text on hover and looking forward to see in the same line. I tried doing this but had no luck.
<div class="box"> <div class="box-left"> <p>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet. Lorem Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. LoremLorem ipsum dolor sit amet.12345</p>x </div> </div> .box { width: 600px; height: 2em; position: relative; background-color: #ddd; } .box > div { position: absolute; height: 100%; } .box-left { left: 0; width: 250px; } .box-left > p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .box-right { right: 0; width: 350px; } .box-left:hover { width: 100%; } .box-left:hover + .box-right { display: none; } Fiddle: http://jsfiddle.net/dp6Xs/67/