Oliver Oliver - 5 months ago 14
HTML Question

No newline after div?

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?

Answer

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.