Adam,
Thanks for the reply but that code did not solve my problem. What I did to make it work was to comment out the line that creates the table cell for the message and simply append the message text to the cell created earlier for the user's name (see code below...changes are in red).
Todd
I replaced this code:
td=tr.insertCell(-1);
if(msg.MessageHtml)
{
td.innerHTML=ChatUI_TranslateHtml(msg.MessageHtml);
}
else
{
td.innerHTML=ChatUI_TranslateText(msg.MessageText);
}
with this code:
//td=tr.insertCell(-1);
if(msg.MessageHtml)
{
td.innerHTML+=ChatUI_TranslateHtml(msg.MessageHtml);
}
else
{
td.innerHTML+=ChatUI_TranslateText(msg.MessageText);
}