How to vertically align :after content with entity charactor?

Aless{a}ndro

New Member
I'm styling some links with an entity character on the end. But because the links have variable height due to different amount of text, the entity character always stays at the top vertical aligned. I know how to do this with an image as the content, but how can I do this with an entity character?Here is my code:\[code\]a { display: block; position: relative; padding-right: 15%;}a:after { content: '\2192'; text-align: right; width: 15%; position: absolute; right: 0; top: 0; height: 100%;}\[/code\]
 
Back
Top