Forum Moderators: open
I want to put a text input element in the middle of a sentence, so the user fills in the blank. The first letter of the missing word is written before the text input as a clue. In this example, the user should type "ebmaster":
"I love W[input] World".
I've specified the form to display inline so the text input appears where I want it.
BUT if the browser is resized smaller, the word-wrapping can sometimes split the first letter from the input:
"I love W
[input] World".
I've removed all whitespace from the code between W and the text input element, but it still wraps.
Is there some way I can prevent wrapping for a specified chunk of code (maybe using a span)?