I want to output a single line of text to the browser that contains a tag. When this is rendered it appears that the DIV causes a new line. How can I include the content in
A better way to do a break line is using span with CSS style parameter white-space: nowrap;
span.nobreak { white-space: nowrap; } or span.nobreak { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
Example directly in your HTML
YOUR EXTENSIVE TEXT THAT YOU CAN´T BREAK LINE ....