DIV tag creating new line in php

后端 未结 5 1298
清歌不尽
清歌不尽 2021-01-29 00:20

I am trying to style results from database but when I echo

it is creating new line after each result. How can I force the div not to create a new line?<
5条回答
  •  轮回少年
    2021-01-29 01:17

    Consider using instead of

    are already inline tags where

    are blocks by default, which create a new line for the content in it.

提交回复
热议问题