.selector { display: inline; }
You can also apply this parameter directly in the HTML div by adding the following string to the div (just after the class):
<div class="myclass" style="display:inline;"></div>
Source: http://stackoverflow.com/questions/1826735/how-do-i-prevent-div-tag-starting-a-new-line