If there is a div tag, it will be displayed a block element and therefore will not remain on the same line. It can be changed in your css, without removing the div tag.
Visit https://www.sitepoint.com/web-foundations/display-css-property/
They have a list of all the current css properties. You want to customize the display property, so it no longer displays as a block level element. Your answer will probably look something like this on your stylesheet.
{
display: inline;
}
or
{
display: inline-block;
}