Currently, I am assisting a colleague in crafting articles for scientific journals. Interestingly, various publishers have distinct requirements regarding the format of cited authors in the bibliography. Some demand "last name, first name," while others prefer "first name, last name" (with an ordered list by last name and potentially last names displayed in small caps).
Admittedly, utilizing a database would be more efficient; however, my colleague's expertise does not extend to that level.
If I were to create a basic HTML page with lines similar to this example:
<p><span class="lname">Doe</span>, <span class="fname">John</span></p>
Is there a CSS technique available that would display the line as "John DOE", or would I need to resort to using JavaScript?