Prevent new line after JS text update


<td><strong>Desired Username:</strong></td>
<td><input type="text" name="username" id="username" onkeyup="checkUsername(this.value)" value="" class="errorInput" />
<span id="message"><span class="error">Handle must consist of letters and numbers.</span></span>
</td>

This displays fine until I use javascript to update the span “message”. I have no way of viewing the source after the update. Originally the span sits next to an input field but then drops to a new line after the update. Any ideas what would cause this and how to stop it?

I have no way of viewing the source after the update.

Why not? Normally you can view source in a browser, or inspect elements with Firebug.

Originally the span sits next to an input field but then drops to a new line after the update. Any ideas what would cause this and how to stop it?

Can you show the CSS associated with this (after the update)? Again, it should be visible in Firebug.

After some messing around I decided to go with a different approach and it’s working. There must have been some white space somewhere along the line of includes.