css prevent new line div

Solutions on MaxInterview for css prevent new line div by the best coders in the world

showing results for - "css prevent new line div"
Gannon
26 Sep 2016
1// The div tag is a block element that causes a new line by default/design.
2// You should use a <span> element instead, which is inline.
3// Although it's bad form, you can add style="display: inline;" to a div.