CSS浮动问题推到新行 [英] CSS floating issue being pushed to new line

查看:120
本文介绍了CSS浮动问题推到新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅下面的jsfiddle示例。

Please see my jsfiddle example below.

任何人都能知道我在这里做错了什么?

Can anyone figure out what I am doing wrong here?

我尝试使用一个名为Smart Wizard的第三方插件,除了jsfiddle中显示的一个方面外,所有的工作除外。

I am attempting to use a third party plugin called Smart Wizard it all works except for this one aspect as shown in the jsfiddle.

[X]行,它应该直接在错误消息的右边。

The [X] is on a new line, it should be directly to the right of the error message.

http://jsfiddle.net/jamesjw007/4wJv4/1/

推荐答案

.content { width: 90%; float: left; }

example fiddle: http://jsfiddle.net/4wJv4/9/ - 根据您的喜好调整content元素的宽度

example fiddle: http://jsfiddle.net/4wJv4/9/ - Adjust the width of content element as you prefer

这篇关于CSS浮动问题推到新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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