I’ve a link as shown in image bellow

What I want is to do, is apply
text-overflow: ellipsis;
so in this case the word “Page” will be replaced by ellipsis, but still having the arrow, which is an :after element of the link.
Link code is this:
.next-lesson:after{
background: url("img/icons.png") no-repeat -9px -91px;
display: inline-block;
background-repeat: no-repeat;
width: 15px;
height: 15px;
content: "";
margin-left: 5px;
}
Regarding your last comment you can do the following:
Declare
position:relativeon the link’s parent div andposition:absoluteon the link’s pseudo-element to make it independent from theaand its declaredoverflow:hidden. Adjust the position accordingly and everything should be fine.