Div tag displaying content on a new line
I have some code that looks like this:
<h4 class="tableTotals">Total Selected: R<div id="bankTotal">##,##</div></h4>
The result I want should be on ONE line, but as it turns out, the div tags display its content on a new line, which I definitely don't want. The result looks like this:
Total Selected: R
##,##
When I really want it to display like this:
Total Selected: R##,##
Does anyone know how to stop a div from showing on a new line? Thanks for any push in the right direction!
+3
source to share
8 answers