You can use the css()
method with a callback function that returns the width of the currently iterated element x 0.2
$('span.link').css('padding-right', function() {
return $(this).width() * 0.2;
});
In newer browsers you could do this with CSS as well
span.link { padding-right: calc(20%); }