float:right in IE7 drop into一个新行 [英] float: right in IE7 dropping to a new line

查看:98
本文介绍了float:right in IE7 drop into一个新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直陷入浮动问题一段时间,所以我希望社群可以再次帮助我。我有一个新的网络表单此处。像往常一样,看起来在除了IE7(或IE8兼容性)之外的一切。

I've been stuck on a float issue for a little while so I am hoping the community can help me again. I have a new webform here. As usual it looks fine in everything but IE7 (or IE8 in compatibility).

由于某些原因,一些容器的表单文本下面的新行上的表单字段结束。 CSS不是我的强点,否则我能够解决这个我相信。任何人都可以告诉我我在这里丢失了什么?

For some reason some of the containers are ending up with the form field on a new line below the form text. CSS is not my strong point, otherwise I'd be able to fix this I am sure. Can anyone tell me what I am missing here?

我试图在表单文本中添加float:left,但是结束了一个整体。 b $ b

I tried adding float: left to the form text but that ended up with a whole other mess.

推荐答案

尝试小的更改标记:在没有它的项目之前放置带有浮动项的项目(来自同一行)。它应该有帮助。

Try to small change markup: place items with a float before items without it (from the same row). It should help.

这篇关于float:right in IE7 drop into一个新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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