The div tag is a block element, causing that behavior.
You should use a span element instead, which is inline.
If you really want to use div, add style="display: inline". (You can also put that in a CSS rule)
The div tag is a block element, causing that behavior.
You should use a span element instead, which is inline.
If you really want to use div, add style="display: inline". (You can also put that in a CSS rule)