📜  css 防止换行 div - CSS 代码示例

📅  最后修改于: 2022-03-11 14:48:01.290000             🧑  作者: Mango

代码示例1
// The div tag is a block element that causes a new line by default/design.
// You should use a  element instead, which is inline.
// Although it's bad form, you can add style="display: inline;" to a div.