浮动表元素问题(窗体)


Floating a Table Element Issue (Form)

我似乎无法在以下表单上正确对齐:

http://penarthpc.com/~ dronebo2/wp/商店/结账/

(发货地址和帐单地址)

我不知道如何只为该类中的输入字段赋值(将它们向左对齐/浮动,而不是像现在这样向右对齐)。

我是不是错过了什么?

CSS文件中有.wpsc_checkout_table input {}.wpsc_checkout_table input.text {}。由于.wpsc_checkout_table input.text {}更明确,因此它选择了它的样式。删除.wpsc_checkout_table input.text {}中的float:right,一切都将正常工作。

您可以通过将以下规则添加到您的CSS 中来使它们浮动

#checkout_page_container .wpsc_checkout_table input {
     float:left;
}