Is there a way to not have a newline inserted before a div
without using float: left
on the previous element?
Maybe some tag on the div
that will just put it to the right?
There is no newline, just the div
is a block element.
You can make the div
inline by adding display: inline
, which may be what you want.