Forum Moderators: not2easy
Maybe with nth-child, last-child equation or something like that.
this can be done, without resorting to "JavaScript", quite simply
with "CSS", which you may then append to your external file. ;)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>untitled document</title>
<link rel="stylesheet" href="#" media="screen">
<style media="screen">
#mylink .mylinktext {
position:relative;
}
#mylink .mylinktext::before {
position:absolute;
right:0;
content:'King';
color:#f00;
text-decoration:underline;
}
</style>
</head>
<body>
<div id="mylink">
<a class="mylinktext" href="#">Jon King</a>
</div>
</body>
</html>
No problem, you're very welcome. ;)