Oliver Oliver - 1 year ago 134
HTML Question

No newline after div?

Is there a way to not have a newline inserted before a

without using
float: left
on the previous element?

Maybe some tag on the
that will just put it to the right?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download