如何不包装div的内容? [英] How to not wrap contents of a div?

查看:53
本文介绍了如何不包装div的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个固定宽度的div,其中有两个按钮.如果按钮的标签太长,则它们会自动换行–一个按钮停留在第一行,而下一个按钮紧随其后,而不是相邻.

I've got a fixed-width div with two buttons in it. If the labels of the buttons are too long, they wrap – one button stays on the first line, and the next button follows underneath it instead of adjacent to it.

如何强制div展开以使两个按钮都在一行上?

How can I force the div to expand so that both buttons are on one line?

推荐答案

尝试 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆