XF 1.3 Place username and icon on same line

ibaker

Well-known member
I am trying to place an icon after a username in the sidebar_online_users template however the icon is always displayed on a new line. The code is:
Code:
<xen:username user="$user" rich="false" />
<a href="javascript:;" onClick="jqac.arrowchat.chatWith('{$user.user_id}');"><img src="images/user_chat.png" alt="Chat" /></a>

Can anyone advise how I can have the username, a space and then the icon...thanks
 
Top Bottom