javascript - How would I make this text appear on one line? -
i have this webpage. here raw html page.
<body> <p>gbn: <div id="output"></div>kh/s</p> </body> my problem words on different lines. how make worlds 'gbn:', '0' , 'kh/s' appear on same line?
instead of using <div id="output"> use <span id="output"> inherently inline.
alternatively style <div> #output { display: inline-block;}.
Comments
Post a Comment